Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 509
  • Last Modified:

How can I point the users shell folders correctly?

Good Afternoon,

I have an issue where one of my users is pointing to the wrong server for their "My Documents" and "Application Data" folders.

So if the user were to log on to the domain from their Windows XP system their folders link to Server A. When they should be linking to Server B (domain controller).

Server A use to be a domain controller but we retired this server and demoted this function from it.  A brand new server, Server B was promoted to perform this function as DC. All of this was done about 2 years ago. Even so sometimes when the user logs in their user folders link to the Server A.

I have tried adjusting this for the user by going in to the registry and changing paths from the below location on the users computer:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

But once they log off and log back in these adjustments will point back to Server A instead of Server B.

Ive also tried doing an update using this command "gpupdate /f"

But same result.

Ive also tried removing the users folder (\\serverA\users\ampike) but as soon as the user logs in, this folder is recreated with the users documents and application data folder.

I am pretty sure there is a setting somewhere in Active Directory that is causing this to happen. But i cant find where.

Does anyone know how i can resolve this and point the users folder correctly to server B? Or Where in AD i can find this setting and remove it?

Note: Turning off Server A is not an option. As we still use it as a file server.
Note 2: Both servers are running 2003 Std.
Note 3: The user is running WinXP Pro SP3.
 
If you need any further information please just let me know.

Regards,

0
ampike
Asked:
ampike
  • 8
  • 5
  • 5
2 Solutions
 
FeebleminderCommented:
Is this user one that has been there since the old server was DC?

Have you tried taking ownership of this users folder locally while logged on as domain Admin, rename it to username.old, reboot, rename it back to original and give ownership back to user, reboot and have the user log on.

0
 
ampikeAuthor Commented:
Hi Feebleminder,

Yes this user is one that was on the old DC server.

The users folder does not exist locally. It exists on the severs. For server A its here: \\serverA\users\ampike and for server B its here: \\serverB\users\ampike

Under AD the profile is set for this user under  \\serverB\users\ampike but when the user logs in it keeps directing them to server A.

I have tried completely removing (deleting) the users folder from server A, but as soon as the user logs on to their workstation their folder gets recreated back on Server A.

Any ideas?
0
 
FeebleminderCommented:
Try removing all three before going any further. Remove the workstation from the Domain, delete both profiles: locally and roaming Server A
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
FeebleminderCommented:
Oh yeah, and then re-join the Domain and have the user login.
0
 
ampikeAuthor Commented:
K will give it a go. Though im having some trouble deleting the roaming profile and i cant seem to take ownership of it.

Any ideas how i can do this one?
0
 
FeebleminderCommented:
Are you able to remane it...say usersname.old?
0
 
atea_bjornCommented:
Hi, are you experiencing a conflict from GPO Folder redirection / Profile path on the Userobject from the AD?

Cheers
Björn
0
 
ampikeAuthor Commented:
Feebleminder, i am not able to rename the profiles folder for ampike as its saying access is denied. Though the actual directory from \\ServerA\Users\ampike i can delete rename whatever. Its just this profile for ampike i can do much about.



Atea_bjorn, this sounds very much of what i am experiancing now. Do you know how i can fix this or find where in AD its conflicting?


0
 
FeebleminderCommented:
Open up GPMC and run the user in the Resultant Set of Policies and see what policies are applied to that user
0
 
atea_bjornCommented:
As feebleminder says, start with doing a rsop.msc from Start, run or a command prompt.

Have a look in the User portion of the Result window and look for Folder redirections. And doublecheck the users account in the AD on the Profile tab. If you have both Folder redirection and a profile path. Then you most likley have a conflict.

Cheers.
0
 
atea_bjornCommented:
You can run rsop.msc from the computer in question. If you are logged on as a local admin you will also get the opportunist to see the computer policys.
0
 
ampikeAuthor Commented:
Feebleminder,

Ive removed the folder ampike from:

Local computer
Server A
Server B

Also ive removed the users computer from the domain and readded to the domain.

Issue still remains.
0
 
ampikeAuthor Commented:
Will have a go at running the Resultant Set of Policies and see what happens. Will advise.
0
 
ampikeAuthor Commented:
Ok, so i ran the rsop.msc on the users computer. And under:

User configuration\Windows Settings\Folder Redirection\Applications Data
User configuration\Windows Settings\Folder Redirection\My Documents
User configuration\Windows Settings\Folder Redirection\My Pictures

All is pointing to server A (example: \\serverA\users\ampike\My Documents)

From Ad under the users account, the profile is set to \\ServerB\users\ampike

So looks like i have a conflict right? How do i fix so it the folder redirection is pointing to \\ServerB\users\ampike.

0
 
atea_bjornCommented:
\\serverb\user\%username%

Will set the redirected folder to the correct place

Cheers i would also consider removing either redirection or roaming profiles
0
 
ampikeAuthor Commented:
Hi Atea_bjorn,

Thanks for your response. if i try to edit those locations i mentioned above its all greyed out from the users machine. Is there somewhere in AD i make this adjustment. Please let me know where i am suppose to adjust this.

Thanks
0
 
ampikeAuthor Commented:
K ive found where to configure this from within AD by following this tuorial.

http://www.virtualizationadmin.com/articles-tutorials/terminal-services/performance/configure-folder-redirection.html

Will give it ago and advise of my results. But defiently i can see where it is set to point to server A from within this menu.
0
 
atea_bjornCommented:
Hi the setting is comming from a gpo head over to your dc and use gpmc tö Edit the policy.

You can see what policy that sets the setting in your rsop.msc console

Cheers
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 8
  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now