Feb
13
2008
1

Background image on Remote Desktop connectios

I use Remote Desktop to connect some dell servers, and the default background image is slooooow.

So after a few  minutes research, here’s the solution to remove it.

  1. open regedit
  2. goto  [HKEY_USERS\.DEFAULT\Control Panel\Desktop]
  3. empty the value of wallpaper
  4. enjoy!

To make my life eaiser, I created a reg file, so just unzip and merge it would make your life easier too :)
empty_wallpaper.zip

However if you’r concern about the safty, here’s the contents of the file, so you can create your own reg file easily.
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
“Wallpaper”=”"

Written by hkai in: Windows |
Nov
21
2007
4

Install telnet client on Windows Vista

Telnet is not installed by default. Here’s the step to install on Windows Vista
1. Open control panel
2. Open Programs and Features
3. On the left panel, select “Turn Windows Features on or off”
4. In the tree, select “Telnet Client”, and click OK

Telnet is the basic tool for a network administrator.

Written by hkai in: Windows |
Sep
26
2007
1

Clean up IIS log files

IIS log files locate at c:\windows\system32\logfiles
It can use up disk C if not well maintained.

Written by hkai in: Windows |
Sep
21
2007
0

Terminal Service: /the terminal server has exceeded the maximum number of allowed connections

When I try to connect to a server by Remote desktop, it report “The terminal server has exceeded the maximum number of allowed connections”.
Here’s the step to disconnect the un-used session and make yourself able to connect it.
1. start tsadmin.exe from a windows 2003 server that you have access
2. right click on “all listed servers”, then select “connect to computer”, and type in the IP address for that server
3. Then you would able to disconnect other session and you can login

Written by hkai in: Windows |
Sep
19
2007
1

Export/Import putty session

Here’s the step to export PUTTY sessions:
c:\> reg  export hkcu\software\simontatham\putty putty.reg

Then you have all the PUTTY sessions and host keys in putty.reg.
Transfer the reg file to another computer and merge into registry.

Written by hkai in: Windows |
Aug
01
2007
0

Visual Web Developer 2005 Express on Vista: can’t debug asp.net

Just installed Visual Web Developer 2005 Express Edition on Vista, and it won’t stop at the breakpoint.

Solution:
1. Start VS Web as administrator
2. right click project, select “Property Pages”, in Start Options, make sure Debuggers->ASP.NET is checked
3. open web.config, make sure you have the following lines:
    <compilation debug=”true”/>
4. Open IE, in Tools->Internet Options, select Advanced tab, make sure the “Disable script debugging (IE/Other)” is unchecked
5. Restart IE if you changed the setting

Now you should have the VS Web stopped at the breakpoint.

Written by hkai in: ASP.NET, Windows |
Jul
10
2007
0

My choice of media software: audio conversion and simple image processing

1. Recording conversion:
I use dBpoweramp Music Converter to convert my recording before, and found it is no longer free recently(it’s no longer free for sometime). After tried a few other software, I found foobar2000 is one of the best converting software to let you easily convert between WAV/MP3/MP4/OGG etc. Visit here to download the latest version.

foobar2000_1.jpgfoobar2000_2.jpg

2. Simple image processing/converting

IrfanView is one of the best software for view image and convert into different format. It can do some simple crop/selection as well. You can download the latest version here

irfanview_1.jpgirfanview_2.jpg

Written by hkai in: Windows |
Jun
26
2007
0

mssql extension installation on Vista

I installed php 5.2.3 onto c:\php, but the script won’t connect to SQL 2005 through mssql extension.
The solution:
1. get the latest ntwdblib.dll from a machine which installed sql server 2000
2. put the dll to c:\php

The dll shipped with php 5.2.3 is version 7.0, and the latest is 8.0, which make the difference when connecting to a SQL 2005.

Written by hkai in: PHP, SQL Server 2005, Windows |
Feb
17
2007
0

uptime for windows NT/2000/XP/2003

Almost every unix operating system comes with a utility called uptime that tells you how long your server has been running.

Unfortunitly no such tool comes with windows, but there is a pretty fool proof way to determine the date you computer was last started. Type the following in to the command prompt.

net statistics server

It will output something like:

Server Statistics for \\COMPUTERNAME
Statistics since 6/9/2006 11:09 AM

So from the statistics since line we know the computer was started at 6/9/2006 11:09AM, and it’s been running for several days.

The net command is very useful, it allows you to connect to shares, start services, send messages between computers and more.

Written by hkai in: Windows |
Nov
10
2006
0

tuning NTFS

first, this article helps a lot

www.windowsdevcenter.com/pub/a/windows/2005/02/08/NTFS_Hacks.html

www.microsoft.com/technet/archive/winntas/tips/winntmag/optntfs.mspx?mfr=true

Here’s what I did

fsutil behavior set disable8dot3 1

disable short filenames

fsutil behavior set disablelastaccess 1

disable last access time

make sure indexing service are disabled

format the disk with 4k cluster or unit size

Written by hkai in: Windows |

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes