Solved

Change location of new users profile on first login

Posted on 2014-10-15
5
219 Views
Last Modified: 2014-10-22
Windows Server 2008 R1 x32 remote desktop.
I wanting to change the location where the profile is created for any "First Time" log on. The server is a fresh install production, I do not want to move the default existing user profiles. Just new ones at first log on.
0
Comment
Question by:nhnerd
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:Rizzle
ID: 40383164
A few things, you could set those local profiles to delete in log off (we have this in place in our citrix environment as its best practice) of you could redirect part of the users profile like their desktop, my documents and app data elsewhere?
0
 

Author Comment

by:nhnerd
ID: 40383187
Fully agree in most environments. But this is a small business with family employees. the user profile is static after first setup. the only reason this server exist is a 32 bit DOS database program they are trying to move away from. but until then, the profile will be the users working desktop. So to make my life easier for the intern, I figured placing the profile on a different drive. Would be nice to set a registry key and all new profile are created in the new location automatically
0
 
LVL 13

Expert Comment

by:Rizzle
ID: 40383262
Right okay, i believe the only Microsoft supported solution for folder/profile redirection is listed here.

http://technet.microsoft.com/en-gb/library/cc732275.aspx
0
 

Accepted Solution

by:
nhnerd earned 0 total points
ID: 40387486
My disclaimer! Going outside of MS best practice is usually a bad idea! But at times it is a must to support an extreme weird situation. And whatever you do, do not try to customize any MS Small Business Server without using the built in “Move Item” wizards in the SBS console! Trust me, I have 15 years of SBS administration

MS supports redirected folders for user’s; documents, desktop, start menu… via GPO folder redirects (SBS admins! Use the SBS console wizard). or you can use roaming profiles which will include more user profile information beyond the redirected folder policy. In any of these cases, the user’s local profile is stilled setup in the %system% drive\users\username folder.

Another really bad idea is to try to move or redirect the default install of the public, system, and default user profiles. Basically kiss the OS install good bye. As stated by several articles; patches, updates, and future installs depend on these profiles to be in place. Your’ bad for changing them, or even worse, the companies issue when you’re no longer the admin. The next admin will have a customized word or two for you.

Steps to change a user profile at first log (profile creation) on to the computer (locally or remotely).
1.      Install, configure, and update the OS completely
2.      Install needed software
3.      Do a full Back up!
4.      Create the root Users folder in the new location with CURRECT ACL permissions
-[Xcopy “%SystemDrive%\users”  “new location” /x /o /t]
-My Case [Xcopy “%SystemDrive%\users\” “r:\Users\” /x /o /t]
5.      Export the registry HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
6.      Change HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory to new location.
My case it was “R:\Users”
7.      Log on to the computer with an account that never has been logged on before. The profile will be in the new location.

Again, Disclaimer
-This is not written as a MS support method of changing a profile location.
-This will not move existing user profiles or effect their log on.
-Moving an existing profile manually to the new location in hope the next log on will point to the profile is incorrect. You will get a temporary profile situation.
0
 

Author Closing Comment

by:nhnerd
ID: 40396500
Researching the topic "Move an existing profile", then studying the the registry entries in the "ProfileList" I came up with the Idea and test it on a virtual test Remote Desktop Server with success.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
Know what services you can and cannot, should and should not combine on your server.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now