Windows Server 2008用批处理一键式打造个人桌面工作站
qiaodan89 · 2008-07-06 01:30 · 57686 次点击
核心内容:
安装Windows特性:Telnet客户端、桌面体验、无线管理
开启Theme、WindowsAudio、Superfetch
禁用关机理由,登录Ctrl+Alt+Del
CPU优化为前台程序而不是后台服务(可能需要重启)
开启各种视觉效果
关闭自动播放
再不关闭IESec的情况下,把Internet区域的安全设定为Medium-high引用:@echooff
:WindowsServer2008转换为Workstation批处理设置工具V1.0
:可以自行在services.msc里启用WindowsImageAcquisition(WIA)增加对摄像头的支持
:需要手动自己关闭DEP
:需要手动在GpEdit.msc里修改Users组可以关机
:需要手动开启"防火墙屏蔽程序时通知我"
:某些情况下需要手动编辑磁盘权限,给Users组加上可读写
:可以使用powercfg-hon来开启休眠
:需要手动更改主题为WindowsAero
:至于DX9,DX10,Virtualization,驱动,音视频解码包需要用户手动安装
:导入注册表设置
more+40<"%~f0">"%temp%\tmp.reg"
regedit/s"%temp%\tmp.reg"
:安装telnet命令、桌面体验、无线支持
pkgmgr/iu:TelnetClient;DesktopExperience;WirelessNetworking
:启用桌面主题
scconfigThemesstart=auto
scstartThemes
:启用Windows声音
scconfigMMCSSstart=auto
scstartMMCSS
scconfigAudioEndpointBuilderstart=auto
scstartAudioEndpointBuilder
scconfigAudiosrvstart=auto
scstartAudiosrv
:启用Superfetch
scconfigSysMainstart=auto
scstartSysMain
:结束批处理设置
goto:eof
WindowsRegistryEditorVersion5.00
;禁用关机理由
"ShutdownReasonOn"=dword:00000000
"ShutdownReasonUI"=-
;禁用登录Ctrl+Alt+Del
"disablecad"=dword:00000001
;允许Superfetch
"EnablePrefetcher"=dword:00000003
"EnableSuperfetch"=dword:00000003
;CPU优化为Programs而不是BackgrondServices
"Win32PrioritySeparation"=dword:00000026
;开启视觉效果
"VisualFXSetting"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
"DefaultValue"=dword:00000000
"DefaultApplied"=dword:00000001
;关闭自动播放
"DisableAutoplay"=dword:00000001
:在不关闭IESec的情况下把Internet安全级别调整为LowHigh
"2004"=dword:00000000
"2001"=dword:00000000
"CurrentLevel"=dword:00011500
"1001"=dword:00000001
"1200"=dword:00000000
"1400"=dword:00000000
"1402"=dword:00000000
"1405"=dword:00000000
"1407"=dword:00000001
"1601"=dword:00000000
"1604"=dword:00000000
"1606"=dword:00000000
"1608"=dword:00000000
"1800"=dword:00000001
"1802"=dword:00000000
"1803"=dword:00000000
"1804"=dword:00000001
"1A00"=dword:00020000
"1A02"=dword:00000000
"1A03"=dword:00000000
"1A04"=dword:00000003
"1A05"=dword:00000001
"1A06"=dword:00000000
"1C00"=dword:00010000
"1E05"=dword:00020000
"2000"=dword:00000000
"2100"=dword:00000000
"2101"=dword:00000000
"2300"=dword:00000001
"2400"=dword:00000000
"2401"=dword:00000000
"2402"=dword:00000000
"2600"=dword:00000000
"2007"=dword:00010000