Posts Tagged ‘Microsoft Windows’

How to Backup and Restore Windows 7 and Server 2008 R2 Activation Status (Activate Offline On Reinstall)

Saturday, January 30th, 2010

Windows 7 and Windows Server 2008 R2, similar to Windows Vista and Windows Server 2008, requires user to perform activation in order to activate the Windows operating system to be used without interruption. Activation of Windows 7 and Windows Server 2008 R2, except for users who bought branded OEM computer or activate via KMS host, is normally performed online to validate against Microsoft’s activation server, or via phone activation.

One inconvenience brought by activation is that Microsoft limits and restricts the number of time that online activation can be done. Anything more than that will require user to call Microsoft activation hotline to go through manual hectic process to activate via phone.

Besides, not many people will like to “contact” Microsoft every time after reinstalling or reformating the PC or computer for a fresh and clean start. So it would be great if the “activated” activation status of Windows OS can be preserved, or backed up and restored after re-installation so that Windows 7 and Windows Server 2008 R2 can be activated offline or without connecting to Microsoft’s activation server.

Try the following trick to backup activation files for Windows 7 or Windows Server 2008 R2, which has been previously been activated, prior to reinstallation. Note that the workaround should only be tried by users who want to clean install Windows, as if user (i.e. want to upgrade to bigger hard disk) makes a clone image of physical hard disk with Norton Ghost or Acronis True Image, all application programs, data, resources together with activation status will be automatically preserved.

1. Copy and save or backup the following activation-related files to external storage medium such as USB flash drive or portable hard disk drive:

%SystemDrive%\Windows\ServiceProfiles\NetWorkService\
AppData\Roaming\Microsoft\SoftwarePlatform\Tokens.dat

and,

%SystemDrive%\Windows\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms

Note: For 64-bit (x64) OS, %SystemDrive%\Windows\SysWOW64\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms have to be backed up too.
2. Retrieve and record the product key used to install and activate the current Windows 7 or Windows Server 2008 R2.

Tip: If you can’t remember the product key used, there is plenty of product key viewers available to help.
3. Reinstall Windows 7 or Windows Server 2008 R2. When installation wizard prompts for a product key for activation, leave it blank (do not enter anything).
4. In the newly installed Windows operating system, stop the Software Protection Service in Services.msc or with the following command (run in elevated command prompt):

net stop sppsvc
5. Navigate to the following folder:

%SystemDrive%\Windows\System32\spp\tokens\pkeyconfig\

Note: In 64-bit (x64) operating system, also perform the action in %SystemDrive%\Windows\SysWOW64\spp\tokens\pkeyconfig\ folder.
6. Take ownership and give user full control permissions (alternatively add grant full control right click menu item) to pkeyconfig.xrm-ms file.
7. Delete the original default pkeyconfig.xrm-ms file, and replace with the backup copy.
8. Navigate to the following folder:

%SystemDrive%\Windows\ServiceProfiles\NetWorkService\
AppData\Roaming\Microsoft\SoftwarePlatform\
9. Take ownership and give user full control permissions (alternatively add grant full control right click menu item) to tokens.dat file.
10. Delete the original default tokens.dat file, and replace with the backup copy.
11. Restart the Software Protection Service in Services.msc or with the following command (run in elevated command prompt):

net start sppsvc
12. Register the product key for Windows 7 or Windows Server 2008 R2 with the following command (run in elevated command prompt):

slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Replace xxxxx-xxxxx-xxxxx-xxxxx-xxxxx with the actual product key.
13. Windows will activated instantly, off-line. To check activation status, uses of of the following commands:

slmgr.vbs -dlv
slmgr.vbs -dli
slmgr.vbs -ato

Note that the ability to backup and restore old activation status in order to pre-activate or ready-activate a machine after re-installation must be on the same hardware without any hardware change, else user will need to activate online again. Besides, the product key used must be the same serial code too. The hack also does not apply to OEM branded computer which has Windows pre-activated and KMS host activated Windows system.

Popularity: 1% [?]

Start Slide Show with PicLens Lite PicLens
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Configure Legacy Devices to Run on Windows 7

Wednesday, January 13th, 2010
Image representing Windows 7 as depicted in Cr...
Image via CrunchBase

The Windows 7 driver store includes a small collection of drivers for legacy devices, mostly older printers, modems, scanners, infrared ports, PCMCIA controllers, and other oddball devices that don’t use Plug and Play connections. As you might suspect, Windows will not automatically set up such devices, and you’re rolling the dice if you find one of these old but still worthwhile devices and try to install an old driver.

But what if the device in question is valuable to you and can’t be easily replaced by a newer, supported one? Then by all means give it a try. Download the most recent hardware drivers you can find (ideally, for Windows XP or Windows Server 2003), and then use the Add Hardware wizard to complete the hardware setup process. Follow these steps:

1. If you’ve found a downloadable driver package or a CD that came with the device, look for a Setup program and run it. This option places the driver files on your hard disk and simplifies later installation steps.

2. Connect the new hardware to your computer. In the case of an internal device such as an add-in card, turn off the computer, add the device, and then restart.

3. Open Device Manager, select any item in the list of installed devices, and then click Add Legacy Hardware on the Action menu.

4. Click Next to skip past the Welcome screen. On the next wizard screen, choose how you want to select the device to be installed.

  • For printers, network cards, modems, and other devices that can be detected mechanically, choose Search For And Install The Hardware Automatically (Recommended). After you click Next, the wizard quickly runs a detection module that searches for anything on its list of non–Plug and Play devices. If it finds the new device, it installs the driver automatically, and your work is finished. If the wizard doesn’t find any new hardware, you’ll be prompted to click Next and look manually.
  • If you have a driver on a disc, skip the detection process. Choose Install The Hardware That I Manually Select From A List (Advanced) and click Next.

5. From the Common Hardware Types list, select a hardware category (or the inclusive Show All Devices category) and click Next.

6. From the master list of available drivers, select the device manufacturer and the correct model. Click Next to continue. Follow the prompts to complete the wizard.

From the Microsoft Press book Windows 7 Inside Out by Ed Bott, Carl Siechert, and Craig Stinson.

Popularity: 1% [?]

Start Slide Show with PicLens Lite PicLens
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Windows 7 has “God Mode”? I don’t think so…

Monday, January 11th, 2010
Image representing Windows 7 as depicted in Cr...
Image via CrunchBase

A rather silly “trick” ( and really that’s all it is, has been making headlines over the last few days. From what I can tell it was really brought to the forefront by Ina Fried from CNET who says:

“By creating a new folder in Windows 7 and renaming it with a certain text string at the end, users are able to have a single place to do everything from changing the look of the mouse pointer to making a new hard drive partition.”

So somebody decided to call this “God Mode” because to enable this “trick” you make a folder called GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} and double-click on it. What you end up with is… drum roll… the control panel; it’s just in a different view than you’d normally see.

First of all, the text ”GodMode” has nothing to do with making the trick work. You can call the folder “IFreakinRawk.{ED7BA470-8E54-465E-825C-99712043E01C}” and now you’ve discovered the magical “IFreakinRawk” feature hidden in Windows.

In reality all you have discovered is:

A documented feature of the shell. Folders can be easily made into ‘namespace junctions’. The whole thing is described on MSDN. Basically, any folder named . will show up with just the  portion visible in Explorer, and navigating into the folder will take you to the namespace root defined by the  portion of the name. This isn’t for USERS, it’s really more of a developer feature.

The second thing is that it’s really the “All Tasks” folder. This is a special shell folder which is used as the source of the “Control Panel” search results seen in the Start menu. This folder was not designed to be browsed to directly, as the normal Control Panel folder (accessible via Start -> Control Panel) contains all the same items but with a custom view designed to be easier to navigate. The “All Tasks” folder has no custom view, so you just see the standard Explorer list view and little else.

The existence of this folder and its CLSID are implementation details and should not be relied upon by anybody for any purpose.

Popularity: 1% [?]

Start Slide Show with PicLens Lite PicLens
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

10 Quick Fixes to Make your Windows Computer Faster

Monday, January 11th, 2010
BEIJING, CHINA-OCTOBER 23: A woman looks at th...
Image by Getty Images via Daylife

Our computer running Windows isn’t running in the same speed that it used to run when you first used it. It’s slower, crappy, takes a while to start and tests your patience like anything. There are many reasons for this, let’s try fixing up a few things on your slow Windows PC:

Slow Start Up
There can be a variety of reasons to Windows loading slow during start up. Go to Run, type msconfig and hit enter. Under the ‘Start Up’ tab, uncheck the unwanted programs and press OK. Things should be a bit fine the next time Windows boots.

Another program worth mentioning here is StartUp Delayer which will help in setting after how much time programs should be loaded after Windows boots. For instance, you could set your instant messenger program to load 50 seconds after Windows starts up.

Slow Loading Start Menu
If the Start Menu items are loading slowly, you can open the Registry Editor by typing in the Run menu ‘regedit.exe’ and pressing Enter. Go to HKEY_CURRENT_USER\Control Panel\Desktop. Look for MenuShowDelay, and double click to edit the value. The lower the number specified, the faster the Start Menu will load.

Slow Right Click Context Menu
Probably the Windows Right Click menu on your computer is loading slow because too many programs added unwanted entries there. Just download this program called Mmm, install it and then modify your context menu to remove unwanted items to speed it up.

'Send To' Menu Slow Send To Menu
If the Send To menu loads slowly, you can type ’sendto’ in the Run Dialog, and remove unwanted items in the Explorer Window that appears. This should add some speed to it.

Slow Defragmentation
The Windows Defragmenter can’t get any slower. You need to have an alternative to the Windows Defragmenter, and Defraggler is just one of the best ones available in the market. It’s free, and works like a charm and can speed up defragmentation manifold. For some alternatives, see Five Free Programs to Defragment your PC.

Slow loading My Computer Window
my-computer.jpg If the My Computer Window loads slowly, in the Explorer Window, go to Tools >> Folder Options >> View and uncheck ‘Automatically search for network folders and printers”

Slow loading Add or Remove Programs Applet
This is one of the most annoying piece of programs present in Windows, it takes ages to load if you have a considerable number of programs installed on your computer. You can either use the all-in-one CCleaner for this purpose, or get MyUninstaller that comes as a speedy replacement for Add or Remove Programs.

Slow Ending of Unresponsive Programs
If you’ve clicked on ‘End Task’ if any program is running unresponsive, you might have noticed that the program is not terminated immediately. You can alter this by going to Run >> regedit.exe >> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ and change this value to 1000.

Disable Animations and Appearance Overhauls to maximize performance
If you’re a serious performance junkie, you probably won’t bother about eyecandy. Go to System Properties in the Control Panel. Click ‘Advanced’, then ‘Performance’ and click ‘Adjust for best performance’. This might boost your PC’s performance up a bit.

Additional Tips:

- Always keep your computer clean. Remove Junk and Unnecessary registry entries. Use CCleaner for this purpose, one excellent tool that just does what it says.

- Don’t keep installing software. Install a program only if it really serves you a purpose.

- Keep as less programs as possible running on the System Tray. This essentially means reducing the number of programs that start during Windows start up.

(By) Shankar Ganesh, a student and part time blogger from India, and the guy behind KillerTechTips

Popularity: 1% [?]

Start Slide Show with PicLens Lite PicLens
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)