Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: changing ProgramData location?

05 Jul 2011   #1
kentucky777

Windows 7 Ultimate 64 bit
 
 
changing ProgramData location?

is there a way to change ProgramData to another driver like D or E etc.. the one with C:\ProgramData (default) its normally hidden and some important files is stored in there its for backup saving purposes to avoid losing those data like if your drive C got missed up for some reason you end up reformatting drive C , i believe it can be changed in Registry like changing location of (Users)/Appdata folders, but i don't know how to find it there?


My System SpecsSystem Spec
.
05 Jul 2011   #2
logicearth

Windows 10 Pro (x64)
 
 

There is nothing important in ProgramData that would not be recreated by the various applications you install. It is just application configuration data.
My System SpecsSystem Spec
05 Jul 2011   #3
kentucky777

Windows 7 Ultimate 64 bit
 
 

i see i guess its pointless then..but if anyone here know how to change it i would much appreciate it
My System SpecsSystem Spec
.

05 Jul 2011   #4
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Right, all of your apps will recreate the program data when you use them. You'd gain nothing trying to move the folder, not harm anything by leaving it as is.:)

If you're concerned about the data there, make a back-up image of your system, and you'll have the data there in case things crash.
My System SpecsSystem Spec
12 Sep 2011   #5
Lovejoy

Windows 7 Ulitimate x64
 
 
You can change it here.

The default path is C:\ProgramData. It is stored here:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\ProgramData


OPTIONS:
1) You can change your default ProgramData path to be an alternative drive. Although doing so, all new users that are created will use the new programdata path. So you may end up having two ProgramData folders at the end of the data.
2) Alternatively, you could use “NTFS Junction Points”. Not many people know of this, but a junction point is a way to force all programs that write to path (c:\programdata) to be redirected to (D:\ProgramData). This is how old programs designed for XP can easily work with Vista and Windows 7 new folder locations(Documents and settings replaced with Users).

So you could create a junction point specificically for the tmp directory that is created by the GR.
mkdir D:\ProgramData
robocopy /XJ /MIR "C:\ProgramData" "D:\ProgramData"
mklink /J "C:\ProgramData" "D:\ProgramData"

The downside is that windows update does not work well with program data on a separate drive.
http://support.microsoft.com/kb/949977

My System SpecsSystem Spec
13 Sep 2014   #6
GuccizBud

Windows® 7 (64-bit)
 
 

Quote   Quote: Originally Posted by Lovejoy View Post
The default path is C:\ProgramData. It is stored here:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\ProgramData
Thanks for this, you totally solved my problem.

I used that registry key to temporarily reassign %ProgramData% to C:\Users\<me>\AppData\Roaming, so that a program installer could stop crapping out on me because of inability to create the start menu shortcuts under the %ProgramData% Start Menu, for some reason. This way it created them under my %AppData% Start Menu instead, and completed successfully. I have yet to figure out what was blocking it, but in the meantime I wanted to get that program installed. So thx again, because you helped someone 3 years after posting that!

Btw, if anyone tries this workaround, you should change that registry value back to normal as soon as is feasible, because it affects other things too, things that are alright if it's for just a few minutes, but that you definitely wouldn't want to stay that way... like for one thing, all the Windows-related shortcuts, including the Administrative ones, disappeared from the Start Menu (the orb in the corner) while that registry key value was altered     ... so you'll definitely want to mod it back to default and then reboot.
My System SpecsSystem Spec
Reply

 changing ProgramData location?




Thread Tools




Similar help and support threads
Thread Forum
changing scan folder location
hello. i have a computer with 2 users on it. i want to share the scans in this computer to other computers on the network. instead of sharing each user pictures folder. i created a folder on the local drive D: called SCAN and shared it. now i want that the scanned files will go there...
Network & Sharing
Can not use codec packages with WMP after changing location..
I have an SSD, and have changed my programfiles directory to my D drive. That said, there is an install of WMP12 in my c/programfiles x86 folder, and one on my d/programfiles folder. The one on D apparently is my default one, and when I install a codec pack, such as the CCCP, it will not...
Music, Pictures & Video
How can i change the ProgramData's location?
usually in default its located in "C:\ProgramData" with 32bit/64bit and its hidden i want to change the location to another driver like i manage to change the Appdata to another driver using Regedit this is very useful for me cause every time i get a virus that will end up reformatting my OS my...
General Discussion
Changing the Download location in IE9
I am running the released RTM version of IE9, and I'm noticing that I cannot change the download location (default) in the new Download Manager. Can anyone else change this and get it to stick?
Browsers & Mail
Changing location of install?
Everything automatically downloads to Program Files (x86), and I don't have a problem with that. It's a game. The base game and all four expansions install to (x86) but the file I need to install with the game installs automatically to Program Files and does not offer the option to change where...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 00:13.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App