windows知识
2021-07-11 11:07
修改远程桌面的端口号
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
IE选项中reset web setting不可用(灰色)的解决办法
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\internet explorer\control panel]
"ResetWebSettings"=dword:00000000
重装系统后,修改默认程序安装目录、我的文档、桌面 路径
注:这里将程序路径设置为d:\program,桌面路径设置为e:\desktop,我的文档路径设置为e:\my_documents,
因为字符串要转换为二进制值,修改成自己想要的路径不方便,所以不建议通过导入注册表文件方式修改。
建议通过手工修改注册表来修改程序和桌面路径,文档路径通过在我的文档上点击右键->属性进行修改
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir"="d:\\program"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Desktop"=hex(2):65,00,3a,00,5c,00,64,00,65,00,73,00,6b,00,74,00,6f,00,70,00,\
00,00
"Personal"=hex(2):65,00,3a,00,5c,00,6d,00,79,00,5f,00,64,00,6f,00,63,00,75,00,\
6d,00,65,00,6e,00,74,00,73,00,00,00
Keep network address available when cable plugged out
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
create a DWORD item: DisableDHCPMediaSense, and set its value 1