User Tools

Site Tools


tips

This is an old revision of the document!


Windows Hacks

Batch Files

Create batch files for commonly used tasks & place them in C:\Program Files (x86), then append 'C:\Program Files (x86)' to the default PATH so you can run them from anywhere:

SETX PATH /M "%PATH%;C:\Program Files (x86)"

Reboot a remote computer: reboot.bat

@echo off
shutdown -m \\%1 -r -f

See who is logged in to a remote computer: who.bat

@echo off
query user /SERVER:%1

Registry Tweaks

Make all menu items show up when you right click something (show more options by default)

REG ADD "HKCU\SOFTWARE\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /ve /d "" /f

Disable per-user Proxy configuration

REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxySettingsPerUser /t REG_DWORD /d 000000001 /f

Allow Windows update to check online for updates

REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DoNotConnectToWindowsUpdateInternetLocations /t REG_DWORD /d 00000000 /f
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DisableWindowsUpdateAccess /t REG_DWORD /d 00000000 /f

Enable Administrative Share C$

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

Helpful internet resources

tips.1759857932.txt.gz · Last modified: by w5ged