VDI optimized windows 7 turns off aero and enforces specific themes

Source: Internet
Author: User

When deploying virtual desktops, many graphics decoding relies on the CPU to perform calculations because the video card is not normally deployed on the server side. Windows 7 defaults to provide a more stunning aero effect to improve the user's graphical experience, but in a VDI environment we often need to consider the scalability and operational performance of virtual desktops, when using Aero in virtual desktops will undoubtedly significantly increase the CPU usage of virtual desktops, The memory footprint makes the user's daily usage experience poorer.

To improve the daily use of virtual desktops, we turned off the aero effect of Windows 7 and forced new users to automatically use the Windows 7 Basic theme, which significantly improves the smoothness of virtual desktops

Turn off the Aero effect

The Windows Aero effect is controlled by the service to the desktop Window Manager Session Manager line, which is used to turn off the aero effect, and we can disable the service when we deploy the virtual desktop template. Or, you can disable the service through Group Policy in an existing environment.

You can also close and disable the service through a script

net stop uxsms
sc config uxsms start= disabled

Enforce a specific theme

If a setting is required to force a new user to create a default profile using a specific theme (for example, Basic), you can do so by modifying the registry file for the configured default configuration file.

1. Load the Ntuser.dat of the default user profile into the Hk_users directory

2. Navigate to the Software\polices\microsoft\windows that loads the configuration file

3. Create a new item under Windows, named personalization

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/4f/wkiol1xgd6lbktcsaafrj_x2exa257.jpg "height=" 274 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/72/53/wkiom1xgdyjbs9uwaacxe6vstfg819.jpg "height=" 248 "/>

4. Create a new string value under the personalization key, named "Themefile"

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/53/wkiom1xgdyndvpg6aadqhojjuqy196.jpg "height=" 159 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m01/72/4f/wkiol1xgd6twmtddaacqp_kjwf8623.jpg "height=" 111 "/>

5. Edit Themefile, enter the path to the Windows theme you want to define, and the Windows default theme is stored in C:\Windows\Resources\Ease of Access themes and C:\Windows\ Resources\themes location, for example, if we want to define a Basic theme, you can define it as%windir%\resources\ease of Access Themes\basic.theme

6. After editing the registry, uninstall the Ntuser.dat of the default configuration file and log in to the new user test on the machine.

EG: Define new Login users using wallpaper:

When configuring user default profiles in a virtual desktop environment, we typically use windowsenable to turn on Windows Stealth to replicate user profiles or other third-party tools to make, and in some cases, The path written in some of the registry in the created configuration file is the absolute path, for example, I use Zhangsan as a standard user system configuration, and Zhangsan configuration file as the default profile, When you open the profile Ntuser.dat you will find that many paths specify the location of the absolute path that contains the Zhangsan user name, and the new user will find some system settings or software usage exceptions after logging in with this default profile, so we still recommend using the SYSPR when making the configuration file. The EP-loaded XML file uses CopyProfile to make the default user profile. If you must use a third-party tool, after a problem we can fix the exception by modifying the registry that makes the default configuration file.

The following is mainly about the default profile generation profile based on the new user login black screen problem processing method:

By default, the default profile user wallpaper is specified as an absolute path to a user profile, such as my profile is based on Zhangsan, and the default profile Wallpper's key value is represented as a path to c:\users\zhangsan\ such as the location of the wall paper

If you are dealing with this issue, you will need to modify the value to be a common path accessible to all users, or if the wallpaper is included in the default profile, it can be modified by a variable.

How to modify:

1. Open the Registry Editor and load the Ntuser.dat file of the prepared configuration file in Hk_users

2. Navigate to the control Panel\Desktop that loads the registry and find the key value for Wallpper

3. Change the value to a common path value or a relative location for the user folder (Windows default wallpaper location c:\windows\web\wallpaper\windows\, the location of the personal variables can be defined as%username%\appdata\ Microsoft\windows\themes\wallpaper.jpg This path is a reference, the actual personal directory may not be the same), or you can define a UNC path

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/72/53/wkiom1xgdynwutuhaam1gffq0va650.jpg "height=" 335 "/>

This article is from the "Meng Juishu Technology Blog" blog, make sure to keep this source http://superdream.blog.51cto.com/2011872/1689428

VDI optimized windows 7 turns off aero and enforces specific themes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.