cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync$Id$
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncPreparations:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync1. Install Python 2.7.x from python.org to C:\Python27. Matching bit count as
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync the host windows version.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync2. Install the win32 extension for python.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync3. Append C:\Python27 to the system PATH.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync4. Disable UAC.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Windows 8 / 8.1 / Server 2012: Set the following key to zero:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system\EnableLUA"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync5. Disable Automatic updates. (No rebooting during tests, thank you!)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync6. Go to the group policy editor (gpedit.msc) and change "Computer Configuration"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync -> "Windows Settings" -> "Security Settings" -> "Local Policies"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync -> "Security Options" -> "Network security: LAN Manager authentication level"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync to "Send LM & NTLM- use NTLMv2 session security if negotiated". This fixed
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync passing the password as an argument to "NET USE" (don't ask why!).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync6b. While in the group policy editor, make sure that "Computer Configuration"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync -> "Windows Settings" -> "Security Settings" -> "Local Policies"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync -> "Account Policy" -> "Password must meet complexity requirements" is
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync disabled so the vbox account can be created later one.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync7. Need to disable the error popups blocking testing.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Set "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Windows\ErrorMode"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync to 2. This immediately disables hard error popups (missing DLLs and such).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Then there are the sending info to microsoft, debug, dump, look for solution
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync questions we don't want. Not entirely sure what's required here yet, but
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync the following stuff might hopefully help (update after testing):
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync On Windows XP:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Go "Control Panel" -> "System Properties" -> "Advanced"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync -> "Error Reporting" and check "Disable error reporting"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync and uncheck "But notify me when critical erorr occurs".
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync On Windows Vista and later:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync In gpedit change the following settings under "Computer Configuration"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync -> "Administrative Templates" -> "Windows Components"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync -> "Windows Error Reporting":
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 1) Enable "Prevent display of the user interface for critical errors".
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync ... -> "Advanced Error Reporting Settings":
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 1) Enable "Configure Report Archive" and set it to "Store All" for
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync up to 500 (or less) reports.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 2) Disable "Configure Report Queue".
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Run 'serverWerOptin /disable'.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Then set "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\DontShowUI"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync to 1. (Could do all the above from regedit if we wanted...)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync7b. Configure application crash dumps on Vista SP1 and later:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Set the following values under the key
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DumpFolder [string] = C:\CrashDumps
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DumpCount [dword] = 10
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DumpType [dword] = 1 (minidump)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync CustomDumpFlags [dword] = 0
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync See also http://msdn.microsoft.com/en-us/library/windows/desktop/bb787181%28v=vs.85%29.aspx
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync8. Install firefox or chrome, download the latest testboxscript*.zip from
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync the build box.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync9. Create a user named "vbox" with password "password". Must be an
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Administrator user!
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync10. Configure user "vbox" to log in automatically via "control userpasswords2".
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync11. Open up the port ranges 6000-6100 (VRDP) for TCP traffic and 5000-5032
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync (NetPerf) for both TCP and UDP traffic in the Windows Firewall.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync From the command line (recommended in vista):
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync for /L %i in (6000,1,6100) do netsh firewall add portopening TCP %i "VRDP %i"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync for /L %i in (5000,1,5032) do netsh firewall add portopening TCP %i "NetPerf %i TCP"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync for /L %i in (5000,1,5032) do netsh firewall add portopening UDP %i "NetPerf %i UDP"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
b187ad53930be580f369a9a1cfd40deed1812163vboxsync20. Setup time server to "wei01-time.de.oracle.com" and update date/time.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
b187ad53930be580f369a9a1cfd40deed1812163vboxsync21. Activate windows. "https://linserv.de.oracle.com/vbox/wiki/MSDN Volume License Keys"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
b187ad53930be580f369a9a1cfd40deed1812163vboxsync22. Disable loading CONIME. Set "HKEY_CURRENT_USER\Console\LoadConIme" to 0.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf231e499de56b5a9d24d2ad4ae75f1dcb6f0caavboxsync23. Windows 2012 R2: If you experience mouse pointer problems connecting with rdesktop,
cf231e499de56b5a9d24d2ad4ae75f1dcb6f0caavboxsync open the mouse pointer settings and disable mouse pointer shadow.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
b187ad53930be580f369a9a1cfd40deed1812163vboxsyncThe install:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
b187ad53930be580f369a9a1cfd40deed1812163vboxsync23. Unzip (/ copy) the content of the testboxscript-*.zip to C:\testboxscript.
a37d750b2a71ad287053e6c8744a607de446f8d4vboxsync
b187ad53930be580f369a9a1cfd40deed1812163vboxsync24. Copy C:\testboxscript\testboxscript\win\autoexec-testbox.cmd to C:\.
a37d750b2a71ad287053e6c8744a607de446f8d4vboxsync
b187ad53930be580f369a9a1cfd40deed1812163vboxsync25. Create a shortcut to C:\autoexec-testbox.cmd and drag it into
b187ad53930be580f369a9a1cfd40deed1812163vboxsync "Start" -> "All Programs" -> "Startup".
a37d750b2a71ad287053e6c8744a607de446f8d4vboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncThat's currently it.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync