Waclaw Chrabaszcz
... there is no spoon ...

XenDesktop 7 / VMware View – The VDI optimized Windows 7

Monday, September 23, 2013 8:17 AM

Basically in VDI world we are trying to offer more having less. Do you remember 90'ies? Because I have a déjà vu. Once again I am young, slim guy in checkered shirt and I have only two goals at my (first J) job. To put as much stuff as I can on 30 GB hard drive and to optimize machine registry for poor performance hardware (now it is called shared resources). So, with young enthusiasm let's get it done!!!

;Disables First Run Wizard for Internet Explorer
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main]
"DisableFirstRunCustomize"=dword:00000001
;Disables Windows Update
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000001
;Disables System Restore
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore]
"DisableSR"=dword:00000001
;Sets size and retention for Event Logs to 1 MB and no retention
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application]
"MaxSize"=dword:00100000
"Retention"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Security
"MaxSize"=dword:00100000
"Retention"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\System]
"MaxSize"=dword:00100000
"Retention"=dword:00000000
;Disables the crash dump file
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"CrashDumpEnabled"=dword:00000000
;Removes the option to store files in the recycle bin and deletes them immediately
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecycleFiles"=dword:00000001
;Allows RDP to be used – ensure firewall is configured or turned off
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"UserAuthentication"=dword:00000000
;Disables User Access Control (UAC)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000000
;Set Superfetch for boot files only
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
"EnableSuperfetch"=dword:00000000
;Turn off Default Network Location Dialogue
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff]
; Extend Disk Time-Out Value to 200
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk]
"TimeOutValue"=dword:000000c8
[HKEY_LOCAL_MACHINE\SOFTWARE\Image]
"Revision"="1.0"
"Virtual"="Yes"
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Sideshow]
"Disabled"=dword:00000001




Feedback

# re: XenDesktop 7 / VMware View – The VDI optimized Windows 7

Is any of this different than what is in the Windows 7/8 Optimization guide??
Yes, I do work for VMware. 9/23/2013 11:15 PM | Christopher Reed

# re: XenDesktop 7 / VMware View – The VDI optimized Windows 7

Hello Chris,
It looks like we can arrange XenDesktop/View handshake. Yes indeed that reg values comes from VMware View optimization guide and I own you link to source materials. But few words of explanation first.
CXvsVM: I am more or less skilled XenXesktop engineer, and in my everyday work I am implementing Citrix methodology. How it looks like? Uncle Google will answer you very fast. And if you are working in View production team I am pretty sure that you know XenDesktop even better than me. If we talk about me, I am far, far from opinion that View is a black box with a devil inside. I started my virtualization adventure with XenApp and it’s all. You know, you are good in something, and you know something. If you have to implement some solution which one technology would you choose?
A friend of mine asked me - XD engineer – for help, with optimizing VM View workstation. For me it is a great experience, for him friend’s help, for VMware few more sold licenses. 
About blog: This blog is my personal cloud located KB. If something is worth to remember, but too complicated to keep in mind I will put it here. When I am blogging I am trying to be like young girl on 1st date. I’m trying to get curiosity, but not show everything. So if anyone is interested in VDI optimization, inspired by this short mention he will find Citrix or VMware optimization guide.
About VDI optimization: I like to know what is under the hood. Of course, the easiest way is to use Citrix PVSOptimizeTool or VMware OS Optimization Tool, without drop of understanding what is hidden behind this magic button OK. It’s not my way … But I can tell you VM Optimization Tool really impressed me.
http://www.vmware.com/files/pdf/VMware-View-OptimizationGuideWindows7-EN.pdf
Best regards!
Waclaw Chrabaszcz
9/25/2013 2:29 PM | Waclaw Chrabaszcz

# re: XenDesktop 7 / VMware View – The VDI optimized Windows 7

Aw, this was an incredibly good post. Taking a few minutes and actual effort to make a superb article… but what can I say… I procrastinate a lot and don't manage to get anything done.
https://plus.google.com/107713522199320548824/about 11/15/2013 7:26 AM | Guadalupe Prendes

Post a comment