Quantcast
Channel: VMware Communities : All Content - VMware View
Viewing all articles
Browse latest Browse all 9103

Multiple Monitors

$
0
0

I have just built a new master image with windows 7 and ran the windows 7 optimization commands. It disabled the ability to allow multiple monitors on the desktop options, the pool is set to allow multiple but the options are greyed out on the client. Anyone how i can just reverse that setting? Here is the optimization I ran, I'm not seeing the setting:

 

rem Use this script for desktops _without_ View Persona Management implemented.

rem  Setting Default HKCU values by loading and modifying the default user registry hive

rem

reg load "hku\temp" "%USERPROFILE%\..\Default User\NTUSER.DAT"

reg ADD "hku\temp\Software\Policies\Microsoft\Windows\Control Panel\Desktop" /v SCRNSAVE.EXE /d "%windir%\system32\scrnsave.scr" /f

reg ADD "hku\temp\Software\Policies\Microsoft\Windows\Control Panel\Desktop" /v ScreenSaveTimeOut /d "600" /f

reg ADD "hku\temp\Software\Policies\Microsoft\Windows\Control Panel\Desktop" /v ScreenSaverIsSecure /d "1" /f

reg ADD "hku\temp\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v Wallpaper /d "" /f

reg ADD "hku\temp\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache" /v Persistent /t REG_DWORD /d 0x0 /f

reg ADD "hku\temp\Software\Microsoft\Feeds" /v SyncStatus /t REG_DWORD /d 0x0 /f

reg ADD "hku\temp\Software\Microsoft\WIndows\CurrentVersion\Policies\Explorer" /v HideSCAHealth /t REG_DWORD /d 0x1 /f

reg ADD "hku\temp\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" /v VisualFXSetting /t REG_DWORD /d 0x2 /f

REM ***

REM *** Added 24-June-2013

REM ***

rem Set the Start Power Button to Log off as the default

reg ADD "hku\temp\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_PowerButtonAction /t REG_DWORD /d 0x1 /f

rem Reduce Menu Show Delay

reg Add "hku\temp\Control Panel\Desktop" /v MenuShowDelay /t REG_DWORD /d 120 /f

Rem Lower Terminal Server Client send interval

Reg ADD "hku\temp\Software\Microsoft\Terminal Server Client" /v Min Send Interval /t reg_dword /d 1 /f

REM ***

REM *** End of additions

rem ***

reg unload "hku\temp"

 

 

rem Making modifications to the HKLM hive

reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main" /v DisableFirstRunCustomize /t REG_DWORD /d 0x1 /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnableSuperfetch /t REG_DWORD /d 0x0 /f

reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 0x1 /f

reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v DisableSR /t REG_DWORD /d 0x1 /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Disk" /v TimeOutValue /t REG_DWORD /d 200 /f

reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Image" /v Revision /t REG_SZ /d 1.0 /f

reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Image" /v Virtual /t REG_SZ /d Yes /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application" /v MaxSize /t REG_DWORD /d 0x100000 /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application" /v Retention /t REG_DWORD /d 0x0 /f

reg ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\System" /v MaxSize /t

 

 

REG_DWORD /d 0x100000 /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\System" /v Retention /t REG_DWORD /d 0x0 /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Security" /v MaxSize /t REG_DWORD /d 0x100000 /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Security" /v Retention /t REG_DWORD /d 0x0 /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl" /v CrashDumpEnabled /t REG_DWORD /d 0x0 /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0x0 /f

reg ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0x0 /f

reg ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system" /v EnableLUA /t REG_DWORD /d 0x0 /f

reg Add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Sideshow" /v Disabled /t REG_DWORD /d 0x1 /f

REM ***

REM *** Added changes on 24-Jun-2013

REM ***

reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\policies\Explorer" /v NorecycleFiles /t REG_WORD /d 0x0 /f

rem ***

rem Making modifications to .DEFAULT

rem Disable Screen Saver at Logon/Welcome Screen

reg ADD "HKU\.DEFAULT\Control Panel\Desktop" /v ScreenSaveActive /d "0" /f

rem Set Wallpaper to blank at Logon/Welcome Screen

reg ADD "HKU\.DEFAULT\Control Panel\Desktop" /v Wallpaper /d " " /f

rem Disable Address space layout randomization

reg ADD "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" /v MoveImages /t REG_DWORD /d 0x0 /f

rem Enable "Automatically Reboot"

reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v AutoReboot/t REG_DWORD /d 0x1 /f

rem Disable "Write an event to the system log"

reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v LogEvent /t REG_DWORD /d 0x0 /f

rem Disable "Send an alert"

reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v SendAlert /t REG_DWORD /d 0x0 /f

rem Disable IPv6

reg Add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v DisabledComponents /t REG_DWORD /d 0xffffffff /f

rem Increase Service Startup Timeout – Allows up to 120 seconds before timing out waiting for a service

reg Add "HKLM\System\CurrentControlSet\Control" /v ServicesPipeTimeout /t REG_DWORD /d 120000 /f

rem Don't buffer UDP packets less than 1500 Bytes – improves high bandwidth video performance

reg Add "HKLM\System\CurrentControlSet\Services\Afd" /v FastSendDatagramThreshold /t REG_DWORD /d 1500 /f

rem Disable View agent debug

reg Add "HKLM\software\VMware, Inc.\VMware VDM\" /v DebugEnabled /t REG_SZ /d False /f

rem Disable View agent trace

reg Add "HKLM\software\VMware, Inc.\VMware VDM\" /v TraceEnabled /t REG_SZ /d False /f

rem Disable Background Layout Service

reg ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout" /v EnableAutoLayout /t reg_dword /d 0 /f

rem Disable Machine Account Password Changes

reg ADD "HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters" /v DisablePasswordChange /t reg_dword /d 0 /f

Rem Disable TCP/IP Task Offload

Reg ADD "HKLM \SYSTEM\CurrentControlSet\Services\TCPIP\Parameters" /v DisableTaskOffload /t REG_DWORD /d 1 /f

Rem Hide Hard Error Messages

Reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /v ErrorMode /t REG_DWORD /d 0 /f

Rem Disable CIFS Change Notifications

reg ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoRemoteRecursiveEvents /t Reg_dword /d 1 /f

rem Disable customer experience improvement program

Reg ADD "HKLM\Software\Microsoft\SQMClient\Windows" /v CEIPEnable /t REG_DWORD /d 0 /f

REM ***

REM *** End of additons

rem Using Powershell to perform Windows Services modifications

rem

Powershell Set-Service 'BDESVC' -startuptype "disabled"

Powershell Set-Service 'wbengine' -startuptype "disabled"

Powershell Set-Service 'DPS' -startuptype "disabled"

Powershell Set-Service 'Defragsvc' -startuptype "disabled"

Powershell Set-Service 'HomeGroupListener' -startuptype "disabled"

Powershell Set-Service 'HomeGroupProvider' -startuptype "disabled"

Powershell Set-Service 'iphlpsvc' -startuptype "disabled"

Powershell Set-Service 'MSiSCSI' -startuptype "disabled"

Powershell Set-Service 'swprv' -startuptype "disabled"

Powershell Set-Service 'CscService' -startuptype "disabled"

Powershell Set-Service 'SstpSvc' -startuptype "disabled"

Powershell Set-Service 'wscsvc' -startuptype "disabled"

Powershell Set-Service 'SSDPSRV' -startuptype "disabled"

Powershell Set-Service 'SysMain' -startuptype "disabled"

Powershell Set-Service 'TabletInputService' -startuptype "disabled"

Powershell Set-Service 'Themes' -startuptype "disabled"

Powershell Set-Service 'upnphost' -startuptype "disabled"

REM ***

REM *** Added 24-June-2013

rem ***

rem Application Experience Lookup Service

Powershell Set-Service 'AeLookupSvc' -startuptype "disabled"

Rem BranchCache

Powershell Set-Service 'PeerDistSvc' -startuptype "disabled"

rem Computer Browser

Powershell Set-Service 'Browser' -startuptype "disabled"

rem Diagnostic Service Host

Powershell Set-Service 'WdiServiceHost' -startuptype "disabled"

rem Diagnostic System Host

Powershell Set-Service 'WdiSystemHost' -startuptype "disabled"

rem Problem Reports and Solutions Control Panel Support

Powershell Set-Service 'wercplsupport' -startuptype "disabled"

rem Parental Controls

Powershell Set-Service 'wpcsvc' -startuptype "disabled"

rem Windows Media Center Sharing Service

Powershell Set-Service 'WMPNetworkSvc' -startuptype "disabled"

Rem Disable Interactive Services Detection

Powershell Set-Service 'UI0Detect' -startuptype "disabled"

Rem Background Intelligent Transfer

Powershell Set-Service 'bits' -startuptype "disabled"

rem Function Discovery Resource Publication

Powershell Set-Service 'FDResPub' -startuptype "disabled"

rem Media Center Extender Service

Powershell Set-Service 'Mcx2Svc' -startuptype "disabled"

REM ***

REM *** End of additions

REM ***

REM **************************************************************************************************************

REM ******************  No Persona Management Start

rem ***

rem *** Delete shadows and Disable the Volume Shadow Copy Service and the Shadow Copy Protection Service if not using Persona Mgmt

vssadmin delete shadows /All /Quiet

Powershell Set-Service 'swprv' -startuptype "disabled"

Powershell Set-Service 'vss' -startuptype "disabled"

rem ***

rem ******************* No Persona Management End

REM **************************************************************************************************************

REM ***

Powershell Set-Service 'SDRSVC' -startuptype "disabled"

Powershell Set-Service 'WinDefend' -startuptype "disabled"

Powershell Set-Service 'WerSvc' -startuptype "disabled"

Powershell Set-Service 'ehRecvr' -startuptype "disabled"

Powershell Set-Service 'ehSched' -startuptype "disabled"

Powershell Set-Service 'WSearch' -startuptype "disabled"

Powershell Set-Service 'wuauserv' -startuptype "disabled"

Powershell Set-Service 'Wlansvc' -startuptype "disabled"

Powershell Set-Service 'WwanSvc' -startuptype "disabled"

Powershell Set-Service 'UI0Detect' -startuptype "disabled"

 

 

rem Making miscellaneous modifications

bcdedit /set BOOTUX disabled

Powershell disable-computerrestore -drive c:\

rem **********************************************************************************

rem *** Set Firewall Domain profile off

rem *** Set Firewall Private profile on

rem *** Set Firewall Public profile on

netsh advfirewall set publicprofile state on

netsh advfirewall set privateprofile state on

netsh advfirewall set domainprofile state off

rem ***

 

 

rem **********************************************************************************

powercfg -H OFF

net stop "sysmain"

fsutil behavior set DisableLastAccess 1

rem *** Disable the Language Bar

RegSvr32.exe /u /s msutb.dll

rem *** Delete hidden Windows Update uninstall files

del /A:H /S /F /Q %WINDIR%\$NT*

rem Making modifications to Scheduled Tasks

schtasks /change /TN "\Microsoft\Windows\Defrag\ScheduledDefrag" /Disable

schtasks /change /TN "\Microsoft\Windows\SystemRestore\SR" /Disable

schtasks /change /TN "\Microsoft\Windows\Registry\RegIdleBackup" /Disable

schtasks /change /TN "\Microsoft\Windows Defender\MPIdleTask" /Disable

schtasks /change /TN "\Microsoft\Windows Defender\MP Scheduled Scan" /Disable

schtasks /change /TN "\Microsoft\Windows\Maintenance\WinSAT" /Disable

REM ***

REM *** Added on 24-Jun-2013

REM ***

rem disable Customer Experience Improvement Program tasks

schtasks /change /tn "microsoft\windows\Application Experience\AitAgent"/disable

schtasks /change /tn "microsoft\windows\Application Experience\ ProgramDataUpdater" /disable

schtasks /change /tn "microsoft\windows\Customer Experience Improvement Program\Consolidator" /disable

schtasks /change /tn "microsoft\windows\Customer Experience Improvement Program\KernelCeipTask" /disable

schtasks /change /tn "microsoft\windows\Customer Experience Improvement Program\UsbCeip" /disable

REM ***

REM *** End of additions


Viewing all articles
Browse latest Browse all 9103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>