Windows Server 2008 - BCD and BCDEdit

on 10/04/2008 02:13:00 AM

Windows Server 2008 - BCD and BCDEdit

Boot।ini really was the last of Microsoft's .ini files. In Windows Server 2008, Boot.ini is superseded by BCD (Boot configuration data). Boot Configuration Data is a wonderfully descriptive expression, more importantly, it gives you control of what should happen when a Windows Server 2008 computer starts. The BCD editor is not notepad, but a command-line program called BCDEDIT.

Difficulty getting started with BCDEdit

At the beginning I found it frustrating when I tried to set, or even change boot settings with BCDEdit. My aim on this page is to provide you with strategies and detailed examples, as a result, you will soon learn how to editor the menu which appears when Windows Server 2008 boots. Incidentally, the same techniques work with Vista.

Scenario: We want to inspect, and then change the Windows Server 2008's boot options. For example, reduce the timeout, or display an option to boot into a second operating system on a dual-boot machine.

Example 1 - Plain bcdedit

Trap: Before launching the command prompt, right click CMD and select, RunAs, administrator.

Let us get started with plain:
bcdedit

Here is the BCD code

Windows Boot Manager
--------------------

identifier {bootmgr}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {default}
displayorder {current}
{3b1cb4c9-5398-11dd-88aa-a0b620d5ce11}
toolsdisplayorder {memdiag}
timeout 7

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Microsoft Windows Server 2008
locale en-US
inherit {bootloadersettings}
osdevice partition=C:
systemroot \Windows
resumeobject {default}
nx OptOut

Windows Boot Loader
-------------------
identifier {3b1cb4c9-5398-11dd-88aa-a0b620d5ce11}
device partition=D:
path \Windows\system32\winload.exe
description Microsoft Windows Vista
locale en-US
inherit {bootloadersettings}
osdevice partition=D:
systemroot \Windows
resumeobject {3b1cb4ca-5398-11dd-88aa-a0b620d5ce11}
nx OptIn

Note 1: Observe three sections of BCD code, one for the boot manager itself, followed by sections for the operating systems, in this instance Windows Server 2008 and Vista.

Note 2: You could also append the verbose switch /v. The advantage is that you can now see the GUID of the default identifier.

Example 2 - Collect information about the switches

Making changes to BCD code is possible, but beware, your mind has to adjust to its logic and moreover, the syntax is tricky particularly with the hex code. The biggest problem at the outset is to sift the important commands from a long list.

Let us ask for help identifying bcdedit's switches, we can try the famous switch /?
bcdedit /?

Here is an excerpt:

BCDEDIT - Boot Configuration Data Store Editor

Commands that control the boot manager
======================================
/bootsequence Sets the one-time boot sequence
/default Sets the default entry to boot.
/displayorder Sets the order in the multiboot menu.
/timeout Sets the boot manager time-out value.

Note 1: Try bcdedit /? TOPICS

Example 3 - How to Edit BCD Settings

bcdedit /timeout

I would like to start with /timeout, because it's the easiest change to understand and to monitor.

Here is an easy change:
bcdedit /timeout 7

To see the effect, re-run this plain command: bcdedit

bcdedit /default

Here is the classic switch to control what happens after the timeout expires.

bcdedit /default {GUID}

bcdedit /default {3b1cb4c9-5398-11dd-88aa-a0b620d5ce11}

Note 1: In the above example setting the /default in this way changes the bcd code, as a result my computer now boots into Vista. Just to remind you that tweaking the default GUID only makes sense if you have a multi-boot machine.

bcdedit /displayorder

The key point with /displayorder is that you can only use particular GUIDs, furthermore, they must be encased in curly brackets. The knack is to research for GUIDs in sections starting with:

Windows Boot Loader
-------------------
identifier {3b1cb4c9-5398-11dd-88aa-a0b620d5ce11}

Tip: To save typos you can 'Mark', 'Copy' and 'Paste' these hex blocks at the command-line. Click on the tiny icon at the top left of your cmd box, then select 'Edit ->'

Trap: The GUIDs must exist, you cannot just make them up. Moreover they must correspond to real settings as indicated under 'identifier'.

Example 1:
bcdedit /displayorder generic syntax {GUID-os1} {GUID-os2}
bcdedit /displayorder {current} {3b1cb4c9-5398-11dd-88aa-a0b620d5ce11}

Example 2:
bcdedit /displayorder {3b1cb4c9-5398-11dd-88aa-a0b620d5ce11} {9f25ee7a-e7b7-11db-94b5-f7e662935912}

I say again, you must use your GUIDs, and not mine; test by re-running the command: bcdedit. The key point is to synchronize with the rhythm of the syntax,
/displayorder space curly bracket os1 curly bracket space curly bracket os2 curly bracket.

bcdedit /set

It is possible to make cosmetic changes to the descriptions that appear alongside the operating systems on the boot menu.

Example 1
bcdedit /set {50487680-538e-11dd-9786-b25b83bcddca} description "Longhorn"

bcdedit /bootsequence

At present I have no use for this bootsequence switch, however, I did once see its effect when bootmgr asked me if I wished to roll-back an update I was about to make.


Well Known GUIDs for BCDEdit

Apparently, these GUIDs are well known to the bootmgr, although this bcd code is not well known by me!

{5048767f-538e-11dd-9786-b25b83bcddca} (Meaning Windows Server 2008)

{3b1cb4c9-5398-11dd-88aa-a0b620d5ce11} (Meaning BCD for Vista)

{cbd971bf-b7b8-4885-951a-fa03044f5d71} (Another Vista GUID)

{466f5a88-0af2-4f76-9038-095b170dc21c} (Meaning BCD XP)

Further Information

On this page I have concentrated on amending the Windows Server 2008 boot menu on a dual boot machine. BCDEdit has more wide ranging capabilities, in particular '/copy' for creating more Windows Boot Loader sections. While that may be useful for preparing imaging software, there is no point in complicating matters on a regular server by creating references to non-existent operating systems.

My scenario deals with cases where you have installed two or more operating systems on the same computer and now you need to control or troubleshoot what happens when the machine boots. Such control was formerly the province of boot.ini.

Perhaps the next step would be to investigate the

Summary of BCDEdit

If you are wondering how to control the boot menu that you see in Windows Server 2008 or Vista, then investigate the command-line bcdedit. There are switches to control the timeout and the display order for multi-boot machines.

Guy recommends: Auditing Server 2008 with ObserveITObserveIT

ObserveIT delivers one of the most awaited features in server based computing, namely session recording। You can monitor what was done, by whom, when and on which server. ObserveIT's unique feature is that it captures metadata; the advantage is that you can home in on a particular time-frame without having to replay the whole recording.
See the demo and download your evaluation copy
Read More..

Windows Vista - BCD (Boot Configuration Data)

on 10/04/2008 02:04:00 AM

Windows Vista - BCD (Boot Configuration Data)

Boot.ini really will be the last of the .ini files. In Vista, Boot.ini is superseded by the BCD (Boot configuration data). While the acronym BCD is rather anonymous, Boot Configuration Data is a wonderfully descriptive expression, more importantly, it gives you control of what should happen when Vista starts.

Naturally BCD supports both BIOS and Extensible Firmware Interface (EFI) machines. However, I cannot help wondering if the new EFI has prompted Microsoft to finally abandon boot.ini in favour of BCD.

Trap: Before launching CMD, right click CMD and select, RunAs, administrator. To get a handle on BCD type: bcdedit /? at the command prompt. This command fires up bcdedit.exe which is stored in the %systemroot%\system32 folder.

Bcdedit is a comprehensive utility with numerous switches, here is the information displayed by the simple switch: bcdedit /enum.

Windows Boot Manager
--------------------
Identifier: {bootmgr}
Type: 10100002
Device: partition=C:
Description: Windows Boot Manager
Locale: en-US
Inherit options: {globalsettings}
Boot debugger: No
Default: {current}
Display order: {current}
Timeout: 30

Windows Boot Loader
-------------------
Identifier: {current}
Type: 10200003
Device: partition=C:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: en-US
Inherit options: {bootloadersettings}
Boot debugger: No
Windows device: partition=C:
Windows root: \Windows
Resume application: {224b014c-a08e-11da-b308-ed83a3b7e795}
No Execute policy: OptIn
No integrity checks: Yes
Kernel debugger: No
EMS enabled in OS: No

/enum all /v

With the 'all' and the verbose (/v) switches you can retrieve hex information about the various parameters for example:

Output from the above command.

Windows Boot Manager
--------------------
Identifier: {224b0148-a08e-11da-b308-ed83a3b7e795}
Type: 10100002
Device: partition=C:
Path: \EFI\Microsoft\Boot\bootmgfw.efi
Description: Windows Boot Manager
Locale: en-US
Inherit options: {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
Boot debugger: No
Default: {cbd971bf-b7b8-4885-951a-fa03044f5d71}
Timeout: 30

Windows Boot Manager
--------------------
Identifier: {9dea862c-5cdd-4e70-acc1-f32b344d4795}
Type: 10100002
Device: partition=C:
Description: Windows Boot Manager
Locale: en-US
Inherit options: {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
Boot debugger: No
Default: {224b014b-a08e-11da-b308-ed83a3b7e795}
Display order: {224b014b-a08e-11da-b308-ed83a3b7e795}
Timeout: 30

Windows Boot Loader
-------------------
Identifier: {224b014b-a08e-11da-b308-ed83a3b7e795}
Type: 10200003
Device: partition=C:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows
Locale: en-US
Inherit options: {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
Boot debugger: No
Windows device: partition=C:
Windows root: \Windows
Resume application: {224b014c-a08e-11da-b308-ed83a3b7e795}
No Execute policy: OptIn
No integrity checks: Yes
Kernel debugger: No
EMS enabled in OS: No

Editing BCD Settings

/timeout

I would like to start without /timeout, it's the easiest change to understand and to monitor.

Here is an easy change:
bcdedit /timeout 5

To see the effect, re-run plain: bcdedit

/displayorder

The key point with /displayorder is that you can only use particular GUIDs encased in curly brackets. The knack is to research for GUIDs in sections starting with:

Windows Boot Loader
-------------------
identifier {cbd971bf-b7b8-4885-951a-fa03044f5d71}

Tip: You can 'Mark' and copy these hex blocks at the command-line. Click on the tiny icon at the top left of your cmd box.

Trap: The GUIDs must exist, you cannot just make them up. Moreover they must correspond to real settings as indicated under 'identifier'.

Example 1:
/displayorder generic syntax {os1} {os2}
/displayorder {current} {cbd971bf-b7b8-4885-951a-fa03044f5d71}

Example 2:
/displayorder {3b1cb4c9-5398-11dd-88aa-a0b620d5ce11} {9f25ee7a-e7b7-11db-94b5-f7e662935912}

I say again, you have to use your GUIDs and not mine; test by re-running the command: bcdedit. The key point is to synchronize with the rhythm of the syntax,
/displayorder space curly bracket os1 curly bracket space curly bracket os2 curly bracket.

bcdedit /default

Here is the classic switch to control what happens after the timeout expires.

bcdedit /default {GUID}

bcdedit /default {3b1cb4c9-5398-11dd-88aa-a0b620d5ce11}

Note 1: In the above example setting the /default in this way changes the bcd code, as a result my computer now boots into Vista। Just to remind you that tweaking the default GUID only makes sense if you have a multi-boot machine.


Identifying then changing the Default Boot Manager

I have to say that I am not finding bcdedit easy to use. Here is an example where you examine the setting for the default boot manager.

bcdedit /enum all /v

Part of the output from the above command.

Windows Boot Manager
--------------------
Identifier: {224b0148-a08e-11da-b308-ed83a3b7e795}
Type: 10100002
Device: partition=C:
Path: \EFI\Microsoft\Boot\bootmgfw.efi
Description: Windows Boot Manager
Locale: en-US
Inherit options: {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
Boot debugger: No
Default: {cbd971bf-b7b8-4885-951a-fa03044f5d71}
Timeout: 30

Amongst the entries for Windows Boot Manager is:

Default: {cbd971bf-b7b8-4885-951a-fa03044f5d71} (Meaning Vista)

If you wanted to change it to an XP Boot Manager then type

bcdedit /default {466f5a88-0af2-4f76-9038-095b170dc21c} (Meaning XP)

To be fair to Vista, perhaps it's because I am not familiar with these hex numbers that I have difficulty getting in tune with bcdedit.

Summary of Vista BCD

In Windows Vista, BCD and bcdedit replace the boot।ini found in XP and older Windows operating systems.


Read More..

Editing the Windows Vista Registry

on 10/04/2008 01:08:00 AM

Editing the Windows Vista Registry with RegeditVista Registry

When a computer is not working properly, there are situations where editing the registry is the best troubleshooting technique. My primary aim is to give you the skill, the practice, and above all, the confidence to launch regedit and change the registry settings. My secondary aim is to persuade you to take sensible precautions, for example, export at least that particular branch before editing any registry values.

As usual, I have lots of worked examples, which I urge you to try on your own machine. Each registry tweak has two aims; to solve a specific problem, and to provide general learning points, which help you to master regedit. Most of the tweaks work equally well on Vista, XP and Windows Server 2003 registries, where there are differences I will explain what happens in each operating system.

Introduction to the Registry

There will be times when your research reveals that there is simply no GUI to configure a particular Vista setting. Consequently, the only hope of solving the problem is to edit a value in the registry. Another reason to acquire confidence at editing the registry, is so that you can repair a defective machine remotely.

Officially, you edit the Vista registry by adding keys, or modifying values, colloquially, this process is called 'tweaking the registry', or 'hacking the registry'. If I have a hidden agenda it is that in general, learning should be fun, and in particular, that tweaking the registry should be satisfying. To reinforce this 'let's have fun' message, many of my examples also have amusing anecdotes.

What is Vista's Registry?

  • A collection of all the operating system's configurable settings.
  • A replacement for all those ancient .ini files.
  • A database for Group Policy settings.
  • A no-go area for amateurs!
  • A tool for troubleshooting operating system problems.
  • A back-end for Control Panel's front-end.
  • A vehicle for having fun while you tweak Vista's performance and appearance.

Registry Skills Progression

To become expert at any task you need to acquire a range of skills. Because the registry is live, with no 'Simulate' button, and no safety catch, I have arranged the following techniques as a progression. Here is my sequence for mastering the registry along with examples of how to develop the corresponding technique.

1. Launch Regedit

Getting Started: Launch RegeditStart - Regedit

I will be giving you clear instructions to help you master tweaking the registry. Nevertheless, do take precautions. The best defence against a mistake would be to experiment with the registry on a test machine. My favorite technique for recovering from mini-disasters is to export the registry key BEFORE I start editing values. What I do in regedit is click on the File menu, Export, Selected Branch. Every other expert will tell you to backup the System State before you begin.

Let us assume that your mission is to change a setting in Vista by using the registry editor.

  1. Click on the Vista Start Orb Launch Regedit (Button)
  2. Click in the Start Search Dialog Box
  3. Type regedit
  4. Press enter (or double click Program: regedit)
  5. See screenshot opposite

Note 1: Unlike other Vista executables, if you type just the first few letters, 'reg' or 'reged', Vista does not auto-complete the name of the program, you have to type the full name - regedit.

Note 2: Another clue that amateurs are not supposed to open the registry, is that the special editor, Regedit, does not appear on any Vista menu.

Note 3: The actual executable is called regedit, but for backwards compatibility with NT 4.0, it also responds to the name of regedt32.

Best Practice for Editing the Vista Registry

  • Before you make any changes to the registry settings, get into the habit of exporting at least that branch of the registry.
  • Backup the system state before you try anything radical in the registry.
  • Check out the .sav files in the \system32\config folder.
  • Research Volume Shadow Copy, and test how it restores a previous version of your registry files.
  • If your computer has a serious problem, which requires pressing F8 at boot-up, remember to try Last Known Good as your first recovery option.
  • Seek alternative methods; think laterally. Instead of risking making changes with your registry editor, what else could you do? I urge you to consider configuring a Group Policy rather than tweaking the registry. Occasionally Vista may provide a new GUI to configure a setting, for example, instead of launching regedit and changing the value for AutoAdminLogon, you could launch the Control Panel --> Users and un-tick the setting called, 'Users must enter a user name and password.'
  • Learn how to perform a remote registry edit with: Connect Network Registry.
  • As you work through my registry examples, make a point of studying each page's 'Key Learning Points'.
2. Find Settings, Values and Data

Vista Registry - CachedLogonsCountcachedlogonscount Vista Registry

A security hack may be a contradiction in terms! However, I once had a client who wanted to improve their laptop security, for them, minimizing cached logons was the answer. Another user with a different laptop wanted to increase their cached logons to 50; in both cases tweaking the registry was the only solution.

The default number of cached logons for a client such as Vista or XP is 10 (shortly to be increased to 25 in Longhorn). With a registry edit of CachedLogonsCount, we can reduce this to value zero. My client had laptops which operated on an Active Directory domain, and they did not want users (or hackers) to logon unless the laptop could authenticate with a domain controller. Since there is no GUI to reset the cached logons, this is a job for a registry tweak.

Topics for CachedLogonsCount

First Objective to reach the Winlogon registry folder

I have divided our task into two parts. Our first task is to find the correct part of the registry; our second task is to edit the actual registry value.Find Winlogon Registry

Method 1) Flashy Launch Regedit. Click on the Edit menu and then select 'Find'. Now type Winlogon in the 'Find what:' dialog box. Put a tick in only the 'Keys' box, see screenshot to the right. The purpose of this technique is to navigate to the folder containing CachedLogonsCount as quickly as possible.

Note: If you don't tick 'Match whole string only', you may have to press F3 two or three times until you see the following path at the very bottom of the regedit screen:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\winlogon

Method 2) Safe and sure If Method 1 fails, then here is an alternative method, launch regedit and manually drill down to:
HKLM**\Software\Microsoft\Windows NT\CurrentVersion\winlogon.

Second Objective to set the CachedLogonsCount value = 0

The default value for the cached logons count is 10 (maybe increased to 25). Our job is to edit this REG_SZ value from 10 to zero. Before you go any further, check the path; there are at least four instances of 'Winlogon' in the registry.

Let us assume that you have reached: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\winlogon. The next task is to double-click CachedLogonsCount. If this setting is not present, no worries, just right-click in the right hand pane, and create a new REG_SZ called CachedLogonsCount.

For increased security, double-click and change the value for CachedLogonsCount to 0 (zero). Alternatively, to give a laptop the maximum cached logons when it is away from its domain controller, set the value = 50 (maximum number)

Set CachedLogonsCount = 0

CachedLogonsCount

cachedlogonscount Vista setting for laptops

Key Learning Points

  • Were you able to master: Find - 'Keys'?
  • Do you find the CachedLogonsCount value in HKCU** or HKLM?
    Answer: HKLM
  • Do you have to add a value, or modify an existing setting?
    Answer: Modify changing 10 --> 0. (or 10 --> 50)
  • Is it a String Value or a DWORD?
    Answer: REG_SZ (String value).
  • Do you need to Restart, or merely Logoff / Logon?
    Answer: Restart
  • This example merely edits an existing value.
  • Tip: F3 speeds up searching when using 'Find'.

** HKLM is an abbreviation of HKEY_LOCAL_MACHINE, and HKCU is shorthand for HKEY_CURRENT_USER. These acronyms are so well known that you can even use them in .reg files, Vista will understand and obey the registry instruction.

Best Practice for Editing the Vista Registry

  • Before you make any changes to the registry settings, get into the habit of exporting at least that branch of the registry.
  • Backup the system state before you try anything radical in the registry.
  • Check out the .sav files in the \system32\config folder.
  • Research Volume Shadow Copy, and test how it restores a previous version of your registry files.
  • If your computer has a serious problem, which requires pressing F8 at boot-up, remember to try Last Known Good as your first recovery option.
  • Seek alternative methods; think laterally. Instead of risking making changes with your registry editor, what else could you do? I urge you to consider configuring a Group Policy rather than tweaking the registry. Occasionally Vista may provide a new GUI to configure a setting, for example, instead of launching regedit and changing the value for AutoAdminLogon, you could launch the Control Panel --> Users and un-tick the setting called, 'Users must enter a user name and password.'
  • Learn how to perform a remote registry edit with: Connect Network Registry.
  • As you work through my registry examples, make a point of studying each page's 'Key Learning Points'.
3. Add setting to 'Favorites' - (Any, and every example)
4. Export a registry key - (Any, and every example)
5. Change an existing value

Registry Tweak to Display the Windows Vista (TM) Build 6000PaintDesktopVersion Display Windows Vista Build 6000

During the Vista Beta program it was important to display the correct Build number, that way you could see which version you were testing. Many 'techies' were disappointed because the final production version of Vista did not display its badge of honour - 'Build 6000', or 6001 after apply SP1. This omission prompted me to do a little exploring in the Vista registry, and I came up with a value called PaintDesktopVersion.

Instructions for PaintDesktopVersion Windows Vista Regedit and AutoAdminLogon
  1. Launch Regedit See more details on starting regedit
    Navigate to this key:
  2. HKEY_CURRENT_USER\Control Panel\Desktop
  3. Scroll down and find the existing entry called PaintDesktopVersion. Double click and change its value to numeric one. Please note that there is no need to create this DWORD, as it's already there.
  4. Check you now see: PaintDesktopVersion = 1
  5. The default is PaintDesktopVersion = 0 meaning do not display the build number. Incidentally, this DWORD is also found in XP and Windows Server 2003.

Key Learning Points

  • A simple registry tweak to change a value from zero (setting disabled) to one (setting enabled)
  • Do you find the PaintDesktopVersion value in HKCU** or HKLM?
    Answer: HKCU
  • Should you add a value, or modify an existing setting?
    Answer: Modify 0 --> 1
  • Is PaintDesktopVersion a String Value or a DWORD?
    Answer: DWORD.
  • Do you need to Restart, or merely Log Off / On?
    Answer: Log Off --> Log On and view: Build 6000 (or 6001 after applying SP1).
  • Tip: Add this Value, PaintDesktopVersion to Regedit's Favorites menu
  • Tip: To find the value that controls the build number quickly; launch regedit, click on the Edit menu, Find, type PaintDesktopVersion.

MenuShowDelay - You always learn more when something goes wrong

By rights I should remove this section because it just does not work in Vista. The reason that I am leaving it here, is as an example of a registry settings that works in XP, but not in Vista. I thank RBL for alerting me to this difference in behavior.

As far as I can see the Aero Graphics by-passes the MenuShowDelay setting. To tell the whole story, MenuShowDelay works in Vista, but only if you Personalize the Theme, and change the appearance from Windows Vista to say, Windows Classic. However, in my opinion, disabling the Aero graphics would be a sacrilege.

While you are at **HKEY_CURRENT_USER\Control Panel\Desktop, have some fun with a cheeky little registry entry called MenuShowDelay. When you click on the Start menu or the 'All Programs' and select an item with an arrow, there is a fractional delay before the submenu pops out. The default delay is 400 milliseconds, before the submenu appears. Here is where you could have some fun:

Set the value for MenuShowDelay to 50, and claim to impressionable friends that you have a faster edition of XP called: 'XP SuperDo'.

Alternatively, you could set the value to 4000 and con non-technical managers that you need a faster machine! Show them how slowly the Vista menus open.

Instructions for MenuShowDelay

  1. Launch Regedit and navigate to this key:
  2. HKEY_CURRENT_USER\Control Panel\Desktop
  3. Scroll down and find the existing entry called MenuShowDelay. Double click and change its value to 50 (fast) or 4000 (slow). Please note that there is no need to create this REG_SZ, as it's already there.
  4. The default is MenuShowDelay = 400 meaning do not display the submenu for 4/10 of a second.

Key Learning Points

  • Do you find the MenuShowDelay value in HKCU** or HKLM?
    Answer: HKCU
  • Should you add a value, or modify an existing setting?
    Answer: Modify 4000 --> 40
  • Is MenuShowDelay a String Value or a DWORD?
    Answer: REG_SZ.
  • Do you need to Restart, or merely Log Off / On?
    Answer: Log Off --> Log On and test the Start submenus
  • Tip: Add this Value, MenuShowDelay to Regedit's Favorites menu
** HKLM is an abbreviation of HKEY_LOCAL_MACHINE, and HKCU is shorthand for HKEY_CURRENT_USER. These acronyms are so well known that you can even use them in .reg files, Vista will understand and obey the registry instruction.


Vista Registry - RegisteredOwner and RegisteredOrganizationRegisteredOwner Registry Value

When you buy a machine with Vista pre-installed, sometimes OEM's leave their name in your copy of Vista (or XP). A little research reveals that such names are stored in registry values called: RegisteredOwner and RegisteredOrganization. Here is a registry hack to edit the value to reflect your organization.

As a bonus, I have an amusing story featuring Evans Twp and his experience of RegisteredOwner.

To see what I am talking about call for 'winver'. In Vista, click in the Start Search dialog box, and then type: winver.

Instructions for Editing RegisteredOwner or RegisteredOrganization

  1. Launch Regedit (See more details on starting regedit)
  2. Navigate to:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\. Alternatively, in Regedit, click the Edit menu, Find, and then type: RegisteredOwner in the dialog box.
  3. Double click on the REG_SZ called RegisteredOwner.
  4. Change the value to a name of your choice.
  5. Repeat the above instructions for RegisteredOrganization.RegisteredOrganization Registry Value
  6. Exit Regedit and launch Start Search, type winver in the dialog box.

Key Points for RegisteredOwner

  • Is RegisteredOwner a value in HKCU** or HKLM?
    Answer: HKLM
  • Do you have to add a value, or modify an existing setting?
    Answer: Modify
  • Is it a String Value or a DWORD?
    Answer: String (REG_SZ).
  • Do you need to Restart, or merely Logoff / Logon?
    Answer: neither, just type 'Winver' in Vista's Start Search dialog box.

** HKLM is an abbreviation of HKEY_LOCAL_MACHINE, and HKCU is shorthand for HKEY_CURRENT_USER. These acronyms are so well known that you can even use them in .reg files, Vista will understand and obey the registry instruction.

The Story of Evans Twp and RegisteredOwner

In my homeland of Wales, Twp (pronounced Tupp) means a stupid person. The IT manager of a company I was working with was called Evans, and in common with many mangers, he was not very IT literate. Consequently, one of the techies, Dai 'eighteen months', nicknamed this manager: Evans Twp. (Dai lost part of an ear in a Rugby scrum, and as a result, he only had an ear and a half!).

The IT department took on a new lad called Peter. Practical jokes are often part of the initiation ritual for new workers, and this company was no exception. Peter's first job was to install five new Vista Machines. During the scripted set-up he discovered the Organization Menu; he stopped and asked Dai 'eighteen months' what he should enter. Dai said, "Put Evans Twp in the box".

When Peter proudly showed off the new computers he was taken aback when Mr Evans went ballistic and accused Peter of undermining his authority. What happened was Mr Evans typed Winver in the Start Search menu, and saw that the 'Registered To' was: - Evans Twp. (Meaning: Evans the stupid one!)

I was visiting the company doing other work, when I heard of Peter's distress. Mr Evans told the poor lad that had to come in at the weekend and reinstall the machines, Mr Evans wanted the company name as the 'Registered Owner'. I took Peter aside and showed him how to launch Regedit and find RegisteredOwner. We found Evans Twp and changed it to Mr Evans. Peter was thrilled as it only took a moment to make the registry hack, and Peter went to the rugby match instead of sacrificing his weekend to perform re-installs.

Creating a .Reg File

This page explains how to create, and then edit .reg files for your computer. As it's easy to import the contents of a .reg file into the registry, do take extra care with procedures. Read More..

CCleaner 2.0

on 10/04/2008 01:04:00 AM


Features of CCleaner 2.0:

  • Complete rebuild in C++
    With the requirements for a portable version, 64-bit compatibility and Windows Vista increasing against the limitations of the old architecture. We decided to rebuild the entire CCleaner application in highly optimized C++.
  • Faster analyzing and cleaning
    Each scanning process was rewritten from scratch and fully optimized. The result being a noticeable speed increase in all areas.
  • Portable
    CCleaner can now run from a USB thumbdrive and be installed/run on a computer without a complicated setup process.
  • Compact
    The rewrite removed all external file dependencies, so the main EXE is now half the size of the original program and support files.
  • Redesigned User Interface
    The original CCleaner user interface was looking a little dated, so the GUI was redesigned with a modern look, but without sacrificing speed or usability. New icons were created for the interface and the main program icon was updated with a more modern style.
  • Exclusions
    It is now possible to specify files, folders and registry keys to ignore from the cleaning process.
  • Loads of little tweaks
    Too numerous to mention them all separately, we've tried to improve CCleaner in all areas.
Read More..