mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
Windows: import Windows things from gh-pages
This commit is contained in:
parent
80d8b28cc9
commit
198481866f
9
Windows/IPv6-no_privacy.bat
Normal file
9
Windows/IPv6-no_privacy.bat
Normal 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
|
7
Windows/IPv6-no_randomization.bat
Normal file
7
Windows/IPv6-no_randomization.bat
Normal 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
9
Windows/IPv6.reg
Normal 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"
|
8
Windows/IPv6.reg.markdown
Normal file
8
Windows/IPv6.reg.markdown
Normal 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
23
Windows/Windows.reg
Normal 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"
|
57
Windows/Windows.reg.markdown
Normal file
57
Windows/Windows.reg.markdown
Normal 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.
|
Loading…
Reference in New Issue
Block a user