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: User Profile - Change Default Location

08 Jul 2014   #230
ahmedilyas

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

So. I was able to get this to work with WS2008R2 a while back (couple of years) including being able to move the Program Files to another physical drive. All works great and when installing new apps, it knows the place to look to install. Same thing with IIS etc...

But its been a while and there were a few steps that I had to do to get it to work.

But now thinking afresh, I am going to be installing Windows 8.1 or Server 2012 R2. How can I do the same thing? I mean, I want to move the Users folder to another partition including the program files and also inetpuib (IIS).
I want the system to know the new correct location in the environment variables I guess, of the new home of the program files and the like.

any advice on this?


My System SpecsSystem Spec
.
08 Jul 2014   #231
Brink

64-bit Windows 10 Pro
 
 

Hello Ahmedilyas,

To not risk messing up your user profile and still have the same effect, you might see if using the yellow tip box at the top of the tutorial for libraries may work instead.

Some programs will allow you to select where to install them at.
My System SpecsSystem Spec
08 Jul 2014   #232
ahmedilyas

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

thanks.
I just cannot remember exactly what I did before to make it all work including Windows Update.

What approach do you recommend to redirect the users, program files, programdata etc... to another disk?
I remember I created an Environment variable called %RAIDDRIVE% and then changed some of the C:\ to %RAIDDRIVE% for things like the InetPub stuff, the user profiles and maybe some others too.
My System SpecsSystem Spec
08 Jul 2014   #233
Brink

64-bit Windows 10 Pro
 
 

I'm afraid I don't know for all of it like that.
My System SpecsSystem Spec
.

08 Jul 2014   #234
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

I would not recommend moving Program files from C:\, Users and Program Data are safe to relocate. You can do this with this method which I have used on a few new installs.
User Profiles - Create and Move During Windows 7 Installation

Read the Information box and check Post #22 for doing it on an already installed w7 machine.
My System SpecsSystem Spec
09 Jul 2014   #235
ahmedilyas

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

so I am almost done testing the changes and it almost works.
I managed to move the users, program files, program files x86 and programdata to the new drive.
I also modified a few registry entries to update the environment variables and also making sure Iexplore (Internet Explorer) points to the other drive. That works too.

The problem I face now is that when I install any application, it picks up the default location of Program files (C:\) rather than the moved location.

Looking at the environment variables from the CMD prompt, they seem correct (%ProgramFiles% and %ProgramFiles(x86)% point to the new drive)

what setting have I missed?

BTW - I have this already working on my existing system running Win7 but its been a while since I have done it.
My System SpecsSystem Spec
09 Jul 2014   #236
ahmedilyas

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

managed to find the culprit. This was the HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion regkey
My System SpecsSystem Spec
14 Jul 2014   #237
ahmedilyas

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

crap. I thought I had it working but now when it came for doing it on the real hardware.... it failed. Internet explorer will not start even after registering the IEProxy.dll

The reason it wont start is because I changed the program files path to the new drive. But I don't get it... works fine on my WS2008R2 system. :-/
My System SpecsSystem Spec
14 Jul 2014   #238
Brink

64-bit Windows 10 Pro
 
 

I'm afraid that's why we don't recommend to move them. It doesn't always work out so well.
My System SpecsSystem Spec
14 Jul 2014   #239
ahmedilyas

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

agreed. But I was able to get this working on the WS2008R2 system I had for 3 years without issues. Thought I can get it done the same way for WS2012 R2.
must be doing something or missing something here. Crap.

happy for IE to run from C:\Program files etc... but want everything else (other program files and references) to be pointing to the other drive
My System SpecsSystem Spec
Reply

 User Profile - Change Default Location




Thread Tools




Similar help and support threads
Thread Forum
User Folders - Change Default Location
How to Change the Default Location of User Folders in Windows 7 and Windows 8 This will show you how to change (move) the default location of your account's C:\Users\(user-name) folders to another location of your choice instead in Windows 7 and Windows 8, and still have access to the user...
Tutorials
User Profile My Docs, Pics, favorites moved via Location Moveturnedbad
Hello.. I'll try to keep this as simple as I can. A server I work with has users on it. They each have a shared drive that is their own personal drive to store files on. (It's a folder on the server but appears as a Drive location under network locations say Z) So I was asked that the...
Customization
User Profile Service - default profile
Has anyone come across this issue happening frequently lately .... In the past 3 weeks I must have had 20+ PC's / Laptops that have had the same problem (see image below) Although I know how to fix it and I have had it crop up before, I've never had it hit so many units in such a short space...
General Discussion
Cannot Delete User Profile Folder in Previous Location
Hi All, I just recently got a new bigger SSD to use as my boot drive. I wanted to move my User Profile over to my secondary HDD to help save room on the SSD. I used Brink's tutorial User Profile - Change Default Location (which was great by the way) in order to do this. Everything worked out...
General Discussion
Location - Change Computer Default Location
How to Change the Default Location of your Windows 7 Computer This will show you how to set a default location to provide programs information about your computer's geographic location to use when a location sensor, such as a GPS receiver, is unavailable or not installed. When you set a default...
Tutorials
LOST a USER profile (folder location has moved + lock icon)
I was uninstalling windows live essential on my profile and added ms office outlook 2007 for email. For some reason, when changing users to my wife's profile, the desktop has to be prepared each time - as a temporary profile. The folder location has moved from Users/wife to Users/Users/wife and has...
General Discussion


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 08:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App