Posts Tagged ‘XP’
How to get a list of all open ports on Windows 7, Vista and XP?
There is a small freeware Utility called CurrPorts from Nirsoft that displays all open ports on windows.
Download CurrPorts to your computer:
32Bit version: http://www.nirsoft.net/utils/cports.zip
64Bit version: http://www.nirsoft.net/utils/cports-x64.zip
Unpack the .zip file and double click on the file cports.exe to start CurrPorts. The application will show you a list of all open ports and offers the ability to apply filters on the list.

Shutdown Windows XP immediately
If you shutdown windows XP with the button in the start menu, it often takes minutes until the computer is finally stopped as Windows runs several tasks before it shuts down the computer. If you need to shutdown the computer immediately, you can use this command:
C:\windows\system32\shutdown.exe -s -t 00
How to prevent the automatic restart after a Windows update?
One solution is to stop the windows update service to prevent that Windows XP restarts the computer after an update. The update service will be started again after the next boot.
Click on “Start” > “Run” and enter the command:
net stop wuauserv
How to access a namebased website without a DNS record
If you want to access a namebased website that you created e.g. in ISPConfig before the DNS records are setup, edit the hosts file on your workstation computer and add a line like this:
192.168.0.100 www.mydomain.com
Replace the IP address with the IP of your server and www.mydomain.com with the domain name of the website.
The hosts file on linux and MAC systems is /etc/hosts, on Windows systems the hosts file is C:\Windows\system32\drivers\etc\hosts
The above trick also works if you want to run a website in your internal network (intranet) without having a DNS server availalble for local dns resolving.
Windows starts slower after defragmenting the harddisk
If your windows installation starts slower after you defragmeted the harddisk, it might be nescessary to run the defragmentation utility on the boot files too which were normally skipped when running the defrag utility. To defragment the boot files, click on “Start” > “Run…” and then enter the command “defrag -b :c”:

Clear the Windows XP system file cache in to get more free space on the harddisk
Windows XP makes backup copies of your system files which may use a lot of space on your harddisk. To empty the system file cache, click on Start > run… Now enter the command “sfc /purgecache” and click on “Ok”.
