Running an Application as Administrator or in Compatibility Mode

Today someone in a forum asked how to programmatically configure an application so that it runs in compatibility mode. Configuring this manually is easy, just open the file’s properties, select the Compatibility tab and apply the required settings. On Windows 7 this then looks as shown in the picture below. Now whatever we configure here, it all gets written to the following location in the Windows Registry: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers If the settings have to apply Read More …

Prevent the Windows 7 USB/DVD Download Tool from formatting the USB flash drive

If you want to install Windows 7 from USB you can use Microsoft’s Windows 7 USB/DVD Download Tool which you can download from here. By default the tool requires that the USB disk is being erased before copying the Windows 7 installation media, hence you get the following messages.   This is a bit laborious, because sometimes you might want to store some additional files on your installation media, instead of having to store it Read More …

Optimizations for Virtualized Windows 7 clients

Just found these two blog posts that describe some Registry and Services optimizations when running Windows 7 as a virtual client. Windows 7 Registry Optimizations for Virtual Desktops Windows 7 Optimization – Disable Services Thanks to Daniel Feller for sharing this

Extending Wallpaper search locations

When opening the “Change Desktop Background” Control Panel Windows by default uses the “Windows Desktop Backgrounds” picture location which is the content stored under C:\Windows\Web\Wallpaper In addition to the Windows Desktop Backgrounds location Windows also let you choose a Wallpaper from other locations such as the Picture Library, Top Rated Photos, Solid Colors or you can simply browse and select a Wallpaper that is stored anywhere on your computer.   But there is another option, Read More …

ToolTip: Application Paths Editor

The Application Paths Editor allows you to add, edit and remove Application Paths. Setting an application path for your favorite application or script allows you to run the application directly from the “Run” dialog at the Start Menu. So assume you have a script called “HelloApp.vbs” which is stored under C:\Program Files\HelloApp without having set an Application Path, you would have to navigate to the scripts folder or type the full path to launch the Read More …

ToolTip – RegFromApp

Most Windows Operating System and Application settings are stored within the Windows Registry, so if you want to create a script that automates customized settings, but don’t know the exact registry key location or value, you usually end up creating a so-called registry snapshot that records the changes made to the Windows registry when applying a system or application change. Creating registry snapshots can be done with almost every application packaging software like InstallShield, or Read More …

TCP/IP Registry values for Vista and Server 2008

Microsoft has updated the TCP/IP Registry Values for Microsoft Windows Vista and Windows Server 2008 whitepaper that describes how to modify the TCP/IP behavior by making registry edits. The document can be downloaded from here

Scripting Windows Explorer Details View

Those of you who are familiar with desktop engineering know the pain of scripting Windows configuration settings. While in general many settings can be configured by adding or changing a specific registry key value, there are still many things within the OS where Microsoft did not make our life as easy and provides a single registry key that can be tweaked. Yesterday I worked on setting the Windows XP Windows Explorer View to “Details” by default for all Read More …

No Automatic reboot please

Saturday morning, before going out with my family on a shopping tour I started a large FTP download and assumed it would have completed upon my return…. a few hours later, I found my system at the logon prompt, as it had rebooted itself automatically and of course the FTP download was not completed. What happened ? Very simple, Windows Update had automatically rebooted the system, probably after having displayed a message as shown in Read More …

Scripting Registry permissions

Today some e-mails where exchanged on how to best script registry permissions. Depending on what you want to achieve here’s a couple of tools that can be of help. SetACL.exe http://www.helge.mynetcologne.de/setacl/index.htm http://setacl.sourceforge.net/ SubinACL.exe http://www.microsoft.com/downloads/details.aspx?FamilyID=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&displaylang=en Regini.exe http://support.microsoft.com/kb/237607