Reset password in WinXP or Vista

Boot from Linux CD with ntchpw utility installed. Most of the time I used PING. Pretty sure most of Live CD’s do have that utility.

Mount Windows partition to Linux:
ntfs-3g /dev/hda1 /mnt/ntfs
mount -t ntfs-3g /dev/hda1 /mnt/ntfs -o force
The last one is used if windows did not shut down properly.
In Windows partition Navigate to WINDOWS/system32/config
Execute chntpw SAM. As a safety measure you can copy SAM file somewhere available to restore, if things go wrong.
This utility will ask you number of options. Blank the password, do not set a new one. Agree to write hive files when finish.
Restart computer to boot into Windows.

By default chntpw is loading administrator account. You can load another user if required. Read man page for chntpw to figure out how to do this.

Vista can not browse, but connected to the Net

Here is the problem: Vista is connected through wired or wireless connection to a router. IP assigned, no error messages in the connection. Pings are going too Google and updates are downloaded from Microsoft. Probably can go online in messenger or ICQ. But when you start up Firefox or IE, it does not let you go surfing the net.
When you boot Windows into Safe Mode with Network it can go browsing with no problem.
The solution in my particular case was to remove Norton Anti-virus suite. Just when I uninstalled it everything worked fine. Did not even need to reboot.

MTU in Windows Vista

Start cmd as Administrator. To check MTU issue:
netsh interface ipv4 show subinterfaces
This will give you a list of network adapters with MTU

To change the MTU issue following
netsh interface ipv4 set subinterface "YYY" mtu=xxxx store=persistent

Where “YYY” is a network interface name like “Wireless Network Connection”.

Can’t delete device driver in Vista

After uninstalling Vista SP1 you may get the yellow triangle error for
the wan miniport (SSTP). You can’t uninstall wan miniport (SSTP) or
delete it.

This is the solution:
Use the following commands to be carried out as the user Administrator
(Run as Administrator) from Command prompt (cmd):
netcfg -e -u ms_sstpminiport

You may have to find the course Hardware ID device from the Device
Manager and selecting the Details tab-> Hardware IDs if it is not
‘ms_sstpminiport’ which is causing the problem.

Taken from: Here