Move programs without reinstalling them

Tip If you want to move a lot of applications to another disk, or if you've lost the original program disks or disc, here's an alternative approach. Be warned that it requires many changes to the Windows Registry and may take an hour or more of steady work. Proceed at your own risk.

Here's what to do. First, back up the following files in your Windows folder: system.dat, system.da0, user.dat, user.da0, win.ini, and system.ini.

Next, decide where you want to place your application files, then drag the Program Files folder (and any other folder holding applications) to the new destination, and rename the folder(s) if you like.

The next step is to get your system to recognise where the applications have gone. Choose Start--Run, type regedit, and press . In the Registry Editor, choose Edit--Find. In the Find what box, type c:\progra and press . If the Find command highlights a string value (indicated by an 'ab' icon), double-click it (or press ) and edit its Value data to change C:\Program Files or C:\Progra~1 to the new path. Note that the path may appear several times in a single Value data box; change them all. After editing, click OK to close the dialogue box, and press to find the next item to change. To speed things up, select the new path the next time you type it and copy it to the Clipboard (press -C). Then you can just select the old path in each dialogue box and paste the new path by pressing -V. Repeat as often as necessary.

In a few instances, the Find command may turn up a binary value (indicated by an icon with 1s and 0s) in which the path is part of the Value name, which can't be edited. If this happens, you must export that part of the Registry to a text file, edit the text file, and then reimport it to the Registry.

To do this, close the dialogue box and press once to move the highlight to the folder in the tree pane. Choose Registry--Export Registry File. Make sure the Selected branch option is selected, then save this portion of the Registry to an easy-to-find location (such as the desktop) with a name of your choice. Once the branch has been saved, press to delete the folder you just exported. Minimise the Registry Editor and locate the file you just saved.

Now right-click the icon, and choose Edit to open the file in Notepad.

Edit the old path information as needed, following the form in the file. (For example, if the path uses pairs of slashes, don't disturb these as you change the names of drives and folders.) Save the file and exit Notepad. Then right-click the icon for the exported Registry file and choose Merge. Press to acknowledge the confirmation.

Next, you need to take care of any settings stored in win.ini or system.ini (files that Windows maintains for backward compatibility with older applications). Choose Start--Run, type win.ini, and press to open this file in a text editor. Search for c:\progra as before, and edit each instance to reflect the new path. (If you're lucky, you won't find any occurrences.) Repeat this sequence for the system.ini file.

Finally, update any affected Shortcuts.

To edit Shortcuts on the Start menu, right-click the Start button and choose Explore or Open. Select an icon for an application whose path will be changed, and press - to open its Properties sheet (or you can right-click the icon and then select Properties from the menu). Next, click the Shortcut tab and edit the path in the Target and Start in boxes. Then click OK.

If the proper icon doesn't appear, you may need to return to the Shortcut tab of the Properties sheet, click Change Icon, and point it to the proper path. If you're not sure which Shortcuts are linked to your new folder and which are linked to items in your Windows folder, you can skip this part of the process until you run into trouble and then edit each problem Shortcut in piecemeal fashion. But at this stage, you should at least check out all the Shortcuts in your StartUp folder in the Start Menu folder so you don't get errors when you start Windows.

Now comes the acid test.

Once all the files have been copied to the new drive and/or folder, rename the Program Files folder. Then restart your computer and try starting a few of your applications.

If all is well, you can simply delete the Program Files folder and all the duplicate applications it contains.

If you have problems with only one or two applications, reinstall them, this time specifying their new location.

But if you are running into problems with all applications, copy your backup Registry and .ini files back to the Windows folder and restore the name of the Program Files folder.

Join the PC World newsletter!

Error: Please check your email address.

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Scott Dunn

PC World
Show Comments

Most Popular Reviews

Latest News Articles


PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?