Author Archives: mike

Trusted Sites Script

On Error Resume Next Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = “.” Set objReg = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}\\” & strComputer & _ “\root\default:StdRegProv”) ‘=== Set HKLM Only strKeyPath = “SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings” strValueName = “Security_HKLM_only” dwValue = 0 objReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue strKeyPath … Continue reading

Posted in Uncategorized | Leave a comment

Hyper-V Tips

Posted in Uncategorized | Leave a comment

WGET new Sysinternals Suite

  setlocal mkdir sysinternals cd sysinternals set UNZIP=7z x set WGET=wget set DELETE=del set REMOVEDIR=rmdir /q/s set TMPDIR=tmp set BINDIR=. mkdir %TMPDIR% mkdir %BINDIR% set ZIPNAME=Suite %WGET% http://download.sysinternals.com/Files/SysinternalsSuite.zip -O %TMPDIR%\%ZIPNAME%.zip %UNZIP% %TMPDIR%\%ZIPNAME%.zip -o%BINDIR% %DELETE% %TMPDIR%\%ZIPNAME%.zip %REMOVEDIR% %TMPDIR% cd..

Posted in Uncategorized | Leave a comment