Windows handies
Windows handies
Change internet proxy acces using .reg file
Since I’m on/off different virtual private networks I need to change my internet proxy server (Internet Explorer -> Tools -> Internet Options : Connections : Lan Settings : Proxy Server) every time I switch vpn’s. I don’t have RSI and I like to keep it that way. The .reg file below does the trick. (I needed to change Regedit4 into Windows Registry Editor Version 5.00). Got it from this Microsoft KB article.
setproxy.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings] "MigrateProxy"=dword:00000001 "ProxyEnable"=dword:00000001 "ProxyHttp1.1"=dword:00000000 "ProxyServer"="<proxyserveruri>:<proxyserverport>" "ProxyOverride"="*.local;*.localhost;<local>"
Silent load of registry (.reg) file.
To avoid the anoying popups when double clicking a registry file the registry file can be loaded with the regedit utility silently. Syntax is 'regedit /s <registryfile>.
C:\\bin\\EXE\\vpn>setproxy.cmd C:\\bin\\EXE\\vpn>regedit /s C:\\bin\\EXE\\vpn\\setproxy.reg C:\\bin\\EXE\\vpn>
Registry Key Locations
Some registry key locations (for manual removal of windows services, startup programs).
Windows Services (c:\\WINDOWS\\system32\\services.msc) HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services Startup Commands, MSConfig Startup tab (C:\\WINDOWS\\system32\\dllcache\\msconfig.exe) HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run
shutdown
Shutdown acn be done with the shutdown.exe (C:\\WINDOWS\\system32\\shutdown.exe).
C:\\>rem Reboot C:\\>C:\WINDOWS\\system32\\shutdown /r C:\\>
No Comments, Comment or Ping
Reply to “Windows handies”