Windows: import Windows things from gh-pages

This commit is contained in:
Mikaela Suomalainen 2014-12-27 11:08:01 +02:00
parent 80d8b28cc9
commit 198481866f
6 changed files with 113 additions and 0 deletions

View File

@ -0,0 +1,9 @@
echo off
echo Disable IPv6 privacy extensions? Recommended for servers and other static devices.
pause
netsh interface ipv6 set global randomizeidentifiers=disabled store=active
netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent
netsh interface ipv6 set privacy state=disabled store=active
netsh interface ipv6 set privacy state=disabled store=persistent
pause
echo on

View File

@ -0,0 +1,7 @@
echo off
echo Disable IPv6 address randomization? Recommended for all devices.
pause
netsh interface ipv6 set global randomizeidentifiers=disabled store=active
netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent
pause
echo on

9
Windows/IPv6.reg Normal file
View File

@ -0,0 +1,9 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"AddrConfigControl"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\TCPIP\v6Transition]
"Teredo_DefaultQualified"="Enabled"
"Teredo_State"="Enterprise Client"
"Teredo_ServerName"="teredo.trex.fi"

View File

@ -0,0 +1,8 @@
Some kind of explaining for [IPv6.reg](IPv6.reg) like
[Windows.reg](Windows.reg) which includes this file has.
* Resolve IPv6 even without native connectivity.
* Enable Teredo
* As EnterpriseClient so it also works when joined into domain.
* Use `teredo.trex.fi` as Teredo server. This should be replaced with
something that is as near as possible.

23
Windows/Windows.reg Normal file
View File

@ -0,0 +1,23 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000002
"ConsentPromptBehaviorUser"=dword:00000002
"dontdisplaylastusername"=dword:00000000
"shutdownwithoutlogon"=dword:00000001
"undockwithoutlogon"=dword:00000001
"VerboseStatus"=dword:00000001
"HideStartupScripts"=dword:00000000
"HideShutdownScripts"=dword:00000000
"EnableFirstLogonAnimation"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=qword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"AddrConfigControl"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\TCPIP\v6Transition]
"Teredo_DefaultQualified"="Enabled"
"Teredo_State"="Enterprise Client"
"Teredo_ServerName"="teredo.trex.fi"

View File

@ -0,0 +1,57 @@
This file is supposed to explain [Windows.reg](Windows.reg).
```
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000002
"ConsentPromptBehaviorUser"=dword:00000002
```
* Ask admins yes/no on UAC
* 1 would also ask for password, 0 disable entirely.
* prompt standard users for username and password.
* The other option (1) doesn't even give them UAC prompt so you must
always login as admin to do anything.
```
"dontdisplaylastusername"=dword:00000000
"shutdownwithoutlogon"=dword:00000001
"undockwithoutlogon"=dword:00000001
"VerboseStatus"=dword:00000001
"HideStartupScripts"=dword:00000000
"HideShutdownScripts"=dword:00000000
"EnableFirstLogonAnimation"=dword:00000000
```
* Display the user list.
* Allows shutdown without being logged in
* Allows undocking without logging in
* Shows verbose information on login (starting service...)
* Shows output of startup scripts
* Shows output of shutdown scripts
* Disables the first logon animation on Windows 8\*
```
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=qword:00000000
```
* Sets hardware clock to UTC time (doesn't affect system clock!)
* Must be dword with 32-bit systems.
```
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"AddrConfigControl"=dword:00000000
```
* be able to resolve IPv6 even when connection isn't native.
```
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\TCPIP\v6Transition]
"Teredo_DefaultQualified"="Enabled"
"Teredo_State"="Enterprise Client"
"Teredo_ServerName"="teredo.trex.fi"
```
* Enable Teredo
* Enable Teredo even when joined to domain.
* Use `teredo.trex.fi` as Teredo server as it's in Finland where I am.