VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/testboxscript/win/readme.txt@ 64666

Last change on this file since 64666 was 64666, checked in by vboxsync, 8 years ago

More

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.2 KB
Line 
1$Id: readme.txt 64666 2016-11-14 23:45:14Z vboxsync $
2
3
4Preparations:
5
61. Install Python 2.7.x from python.org to C:\Python27. Matching bit count as
7 the host windows version.
8
92. Install the win32 extension for python.
10
113. Append C:\Python27 to the system PATH.
12
134. Disable UAC.
14
15 Windows 8 / 8.1 / Server 2012: Set the following key to zero:
16 "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system\EnableLUA"
17
185. Disable Automatic updates. (No rebooting during tests, thank you!)
19
20 Ideally we would prevent windows from even checking for updates to avoid
21 influencing benchmarks and such, however the microsofties aren't keen on it.
22 So, disable it as much as possible.
23
24 W10: gpedit.msc -> "Administrative Templates" -> "Windows Components"
25 -> "Windows Update":
26 - "Configure Automatic Updates": Enable and select "2 - Notify for
27 download and notiy for install".
28 - "Allow Automatic Updates immediate installation": Disable.
29 - "No auto-restart with logged on users for scheduled automatic
30 updates installations": Enabled.
31
32
336. Go to the group policy editor (gpedit.msc) and change "Computer Configuration"
34 -> "Windows Settings" -> "Security Settings" -> "Local Policies"
35 -> "Security Options" -> "Network security: LAN Manager authentication level"
36 to "Send LM & NTLM- use NTLMv2 session security if negotiated". This fixed
37 passing the password as an argument to "NET USE" (don't ask why!).
38
396b. While in the group policy editor, make sure that "Computer Configuration"
40 -> "Windows Settings" -> "Security Settings" -> "Local Policies"
41 -> "Account Policy" -> "Password must meet complexity requirements" is
42 disabled so the vbox account can be created later one.
43
447. Need to disable the error popups blocking testing.
45
46 Set "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Windows\ErrorMode"
47 to 2. This immediately disables hard error popups (missing DLLs and such).
48
49 Then there are the sending info to microsoft, debug, dump, look for solution
50 questions we don't want. Not entirely sure what's required here yet, but
51 the following stuff might hopefully help (update after testing):
52
53 On Windows XP:
54
55 Go "Control Panel" -> "System Properties" -> "Advanced"
56 -> "Error Reporting" and check "Disable error reporting"
57 and uncheck "But notify me when critical erorr occurs".
58
59 On Windows Vista and later:
60
61 In gpedit change the following settings under "Computer Configuration"
62 -> "Administrative Templates" -> "Windows Components"
63 -> "Windows Error Reporting":
64 1) Enable "Prevent display of the user interface for critical errors".
65 ... -> "Advanced Error Reporting Settings":
66 1) Enable "Configure Report Archive" and set it to "Store All" for
67 up to 500 (or less) reports.
68 2) Disable "Configure Report Queue".
69
70 Run 'serverWerOptin /disable'.
71
72 Then set "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\DontShowUI"
73 to 1. (Could do all the above from regedit if we wanted...)
74
757b. Configure application crash dumps on Vista SP1 and later:
76
77 Set the following values under the key
78 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps:
79 DumpFolder [string] = C:\CrashDumps
80 DumpCount [dword] = 10
81 DumpType [dword] = 1 (minidump)
82 CustomDumpFlags [dword] = 0
83
84 See also http://msdn.microsoft.com/en-us/library/windows/desktop/bb787181%28v=vs.85%29.aspx
85
867c. Enable verbose driver installation logging (C:\Windows\setupapi.dev.log):
87
88 Create the following value under the key
89 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\
90 LogLevel [dword] = 0xFF (255)
91
928. Install firefox or chrome, download the latest testboxscript*.zip from
93 the build box.
94
959. Create a user named "vbox" with password "password". Must be an
96 Administrator user!
97
9810. Configure user "vbox" to log in automatically via "control userpasswords2".
99
10011. Open up the port ranges 6000-6100 (VRDP) for TCP traffic and 5000-5032
101 (NetPerf) for both TCP and UDP traffic in the Windows Firewall.
102 From the command line (recommended in vista):
103 for /L %i in (6000,1,6100) do netsh firewall add portopening TCP %i "VRDP %i"
104 for /L %i in (5000,1,5032) do netsh firewall add portopening TCP %i "NetPerf %i TCP"
105 for /L %i in (5000,1,5032) do netsh firewall add portopening UDP %i "NetPerf %i UDP"
106
10720. Setup time server to "wei01-time.de.oracle.com" and update date/time.
108
10921. Activate windows. "https://linserv.de.oracle.com/vbox/wiki/MSDN Volume License Keys"
110
11122. Disable loading CONIME. Set "HKEY_CURRENT_USER\Console\LoadConIme" to 0.
112
11323. Windows 2012 R2: If you experience mouse pointer problems connecting with rdesktop,
114 open the mouse pointer settings and disable mouse pointer shadow.
115
116The install:
117
11823. Unzip (/ copy) the content of the testboxscript-*.zip to C:\testboxscript.
119
12024. Copy C:\testboxscript\testboxscript\win\autoexec-testbox.cmd to C:\.
121
12225. Create a shortcut to C:\autoexec-testbox.cmd and drag it into
123 "Start" -> "All Programs" -> "Startup".
124
12526. If this is an Intel box and the CPU is capable of Nested Paging, edit C:\autoexec-testbox.cmd
126 and append '--nested-paging'
127
128That's currently it.
129
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette