add Windows and MacOS folders
This commit is contained in:
13
Windows/add This Computer subfolders.reg
Normal file
13
Windows/add This Computer subfolders.reg
Normal file
@@ -0,0 +1,13 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
|
||||
13
Windows/delete This Computer subfolders.reg
Normal file
13
Windows/delete This Computer subfolders.reg
Normal file
@@ -0,0 +1,13 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
|
||||
|
||||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
|
||||
|
||||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
|
||||
|
||||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
|
||||
|
||||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
|
||||
|
||||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]
|
||||
17
Windows/install-OpenSSH-runas-Administrator.bat
Executable file
17
Windows/install-OpenSSH-runas-Administrator.bat
Executable file
@@ -0,0 +1,17 @@
|
||||
REM 介绍 https://winscp.net/eng/docs/guide_windows_openssh_server#installing_sftp_ssh_server
|
||||
REM 下载 https://github.com/PowerShell/Win32-OpenSSH/releases
|
||||
REM open a CMD or PowerShell as Administrator, then run this bat.
|
||||
|
||||
cd C:\bin\OpenSSH-Win64
|
||||
|
||||
powershell.exe -ExecutionPolicy Bypass -File .\install-sshd.ps1
|
||||
|
||||
.\ssh-keygen.exe -A
|
||||
|
||||
powershell.exe -ExecutionPolicy Bypass -File .\FixHostFilePermissions.ps1
|
||||
|
||||
REM Windows 8 and 2012 or newer only:
|
||||
powershell.exe New-NetFirewallRule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH
|
||||
|
||||
sc config sshd start=auto
|
||||
sc start sshd
|
||||
BIN
Windows/linkd.exe
Normal file
BIN
Windows/linkd.exe
Normal file
Binary file not shown.
5
Windows/set home to HOMEDRIVE+HOMEPATH.reg
Normal file
5
Windows/set home to HOMEDRIVE+HOMEPATH.reg
Normal file
@@ -0,0 +1,5 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
[HKEY_CURRENT_USER\Environment]
|
||||
"HOME"=hex(2):25,00,48,00,4f,00,4d,00,45,00,44,00,52,00,49,00,56,00,45,00,25,\
|
||||
00,25,00,48,00,4f,00,4d,00,45,00,50,00,41,00,54,00,48,00,25,00,00,00
|
||||
BIN
Windows/winconf.reg
Normal file
BIN
Windows/winconf.reg
Normal file
Binary file not shown.
Reference in New Issue
Block a user