Useful tips and tricks

Share printer from Windows XP from Windows 7

Transfer music from iPod to PC

Clear Vista admin password

Password reset disk ISO (Works on Windows XP but not on newer OS)

The Windows 7 forum has a great list of tips, many of which also work in Vista and Windows 8.

To permanently disable the Microsoft Virtual Wifi miniport, from an elevated command prompt, type etsh wlan stop hostednetwork" with no quotes. than type this "netsh wlan set hostednetwork mode=disallow

To permanently delete a folder and securely erase the data, from an elevated command prompt type cipher /w:foldername

In Windows XP or newer, to fix black-white screen Windows failed to start, from elevated DOS prompt, delete and regenerate the BCD information
     bootrec.exe /fixmbr
     bootsect.exe /nt60 all /force NOTE: for Windows XP use /nt52 instead of /nt60
     attrib -h -s C:\boot\BCD
     del C:\boot\BCD
     bootrec.exe /rebuildbcd
     (then reboot normally)

From elevated command prompt

List users
net user
Enable admin user
net user Administrator /active:yes
net user newuser newpassword /add
Change user to Administrator group
net localgroup administrator username /add


fixmbr
fixboot
copy d:\I386\ntldr c:\
copy D:\I386\ntdetect.com c:\
cootcfg /rebuild

To fix black-white screen Windows failed to start, from elevated DOS prompt, delete and regenerate the BCD information
bootrec.exe /fixmbr
bootsect.exe /nt60 all /force NOTE: for Windows XP use /nt52 instead of /nt60
attrib -h -s C:\boot\BCD
del C:\boot\BCD
bootrec.exe /rebuildbcd
(then reboot normally)

netplwiz = same as control userpasswords2

bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildBCD

How to tell if VLSC or retail
SLMGR.VBS -dli

Get to Win 10 activation screen
slui 4 or slui 3

Can ping but can't browse
netsh winsock reset catalog
netsh int ip reset reset.log hit
net stop dnscache
net start dnscache
ipconfig registerdns
netsh int ip set dns
netsh winxock reset

Windows 8 or 10 to get elevated command prompt Windows-X

Search all Windows-Q

To enable safe mode on F8
bcdedit /set {bootmgr} displaybootmenu yes
bcdedit /timeout 3
bcdedit /set {default} bootmenupolicy legacy

To remove dirty bit flag from hard drive
fsutil dirty query c:
chkntfs /x c: cleardirtybit

Reset Windows passwords
Boot from CD or USB flash drive and go to DOS prompt
rename c:\windows\system32\sethc.exe to sethc_old.exe
copy c:\windows\system32\comd.exe to sethc.exe
reboot
At login screen, hit left Shift key five times quickly
At DOS prompt, type:
net user
for each user to be erased, type net user *


Deltree has been renamed RMDIR

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
    "DisableOSUpgrade" dword = 1 don't upgrade  
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GWX
    "DisableGWX" dword = 1 don't upgrade  

If you have no internet access, you can activate any version of Office or Windows using a smartphone or using a different computer that is connected to the internet.  Visit this website http://m.vivr.io/XggVwPC and follow the instructions to activate.