How does the Roaming folder work?

7

3

Am I understanding the Roaming folder correctly (C:\Users\{user}\AppData\Roaming)? When I log out from the domain on my PC, it copies everything into the "domain cloud" so to speak. Then when I log into the domain from a different PC, it downloads everything into the Roaming folder on the new PC?

Am I correct?

AngryHacker

Posted 2011-07-18T23:33:16.077

Reputation: 14 731

What is the server version? Are you actually on a Microsoft domain? This does not happen by default even if you are on a domain. – KCotreau – 2011-07-18T23:57:16.080

@KCotreau I am on a Windows Server 2003 R2 domain. Understood about not happening by default. Assuming that the Roaming profiles are turned on. – AngryHacker – 2011-07-19T00:00:01.740

Answers

5

When you log in, the computer loads the registry, and in this case, the local user's registry (HKCU) which tells your current session of Windows where to look for everything it needs (where the settings and files are located). In the case of roaming profile, it reads from the registry where out on one of the domain's centralized servers the user's documents, settings, and desktop icons are located.

When you log off, any changes in the roaming profile are written back to that centralized location.

KCotreau

Posted 2011-07-18T23:33:16.077

Reputation: 24 985

The question refers to the %APPDATA% folder though, and not the HKCU registry hive. – paradroid – 2011-07-19T00:21:02.950

1

@paradroid They are very inter-related. The HCKU based on Group Policy tells where to look for the any items that are to be roaming, including the information in that folder. Read this link: http://msmvps.com/blogs/bradley/archive/2009/02/21/so-what-is-roaming-in-windows-7-anyway.aspx and there is a link to the Microsoft document regarding how this works (It is for Vista, but the same for Windows 7). In particular on page 22 of the Word document, there is a screenshot of the Group Policy, and puts in perspective what can be made roaming, or not. It is not all-or-none.

– KCotreau – 2011-07-19T00:29:08.800

Let me say one more thing to make it clear: Anything you change in those GP setting on page 22 gets written to your user's registry to show it where to point and find it on the centralize location, and initially anything local gets copied over. – KCotreau – 2011-07-19T00:59:17.817

But does the contents of %APPDATA% get copied to the server, and if so, when? I'm not so sure that it does, or otherwise, it does not seem to be very reliable. – paradroid – 2011-07-19T01:27:52.960

Yes, %APPDATA% (C:\Users\USERNAME\AppData\Roaming in Vista/7) is copied to the V2 network profile folder location. – edusysadmin – 2011-07-19T02:17:32.723

If you looked at the Microsoft Word document that was linked to in the link I posted, you would see that yes, that information also does get copied. I even referenced the screenshot on page 22 to look at. – KCotreau – 2011-07-19T03:17:01.093

Ah, Roaming Profiles. The bane of my existence. – surfasb – 2011-07-19T06:30:07.787

@surfasb Why? They are not so hard. What causes you problems. Maybe you should ask a question. ;) – KCotreau – 2011-07-19T06:34:55.087

We got a couple of programs that two people use. TWO. There are a couple of specific settings that don't get copied correctly. Speaking of, I think I was suppose to work on a solution for that. It's so lame. No one roams computers here. But on the occasion that they do, I hold my breath. – surfasb – 2011-07-19T07:05:12.387

@surfasb Maybe sometime, when it is not 3:07 AM where I am, tell me more, and ask if I have any ideas. – KCotreau – 2011-07-19T07:08:22.993

@KCotreau: Currently, we just have the logoff script move the settings to the correct places. But everytime it updated itself, it would break. So I started blocking the updates when I started working here. . . – surfasb – 2011-07-19T07:11:22.917

2

A roaming profile is basically when an active directory users profiles is stored in a centralized location. The benefit is that they can access there docs and setting from multiple computers. Great for lab and other shared environments. It can be useful but take time and thoroughly plan out the implementation before going forward.

http://technet.microsoft.com/en-us/library/cc738596%28WS.10%29.aspx

Astron

Posted 2011-07-18T23:33:16.077

Reputation: 197