一句话技巧


删除windows自带MSN组件:
RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove
 
使用共享的接口实现命令行下批量打印:
copy /b e:\print\t1.prn \\192.168.1.136\C90

XP下SATA硬盘识别为可移动设备解决办法:
[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/nvata]
“新建/DWORD值” DisableRemovable value=1
若无“nvata”建值,可到[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/nvatabus]
“新建/DWORD值” DisableRemovable value=1 重启

注册表禁止启动时候弹出错误信息
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows]
"NoPopUpsOnBoot"="1"
关闭错误报告
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:00000000
注册表禁止默认共享
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"AutoShareServer"=dword:00000000   --- server系统2K,2K3使用
"AutoShareWks"=dword:00000000      ----XP使用
停止磁盘空间不足警告
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
病毒篡改过的显示不出"文件夹选项"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoFolderOptions"=dword:00000001
显示被彻底隐藏的文件
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL]
"CheckedValue"=dword:00000001
完全禁用系统还原
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
"DisableSR"=dword:00000001
 
net config server /hidden:yes可以在浏览列表(网上邻居)里隐藏计算机.
重置TCP/IP协议的方法:
Windows XP下:
netsh int ip reset resetlog.txt
恢复用户权利指派的项目
secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /areas USER_RIGHTS /verbose
secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /areas SECURITYPOLICY /verbose

 

你可能感兴趣的:(职场,技巧,休闲)