Changing Roaming Profile location

Hi,
I am trying to implement a solution where roaming profiles are stored on
the users home drive but not in the default "Windows NT 5.0 Workstation
Profile" directory. The directory will be the name of the user's
workstation. So in effect, a user will get one profile per machine.
I am able to do this using the Zenworks User Policy Package (Windows
Desktop Preferences) and rather than storing the profile on the users
home directory, "Storing User Profile in Network Directory Location".
I've gotten the following to work using:
\\myservername\apps\Home\%username%\%computername%
My question is:
Is it possible to totally variablise the path so that the policy can be
applied to users regardless of what their home server\volume is?
i.e. \\%Home_Directory\%computername%
I've tried many combinations (eg. using %home_drive%, %<home_drive>,
removing the two \\, etc) and cannot get this to work.
Is there some variable that I can use that refers to the user's home
location that works in the Policy?
-Thanks

[email protected] wrote:
> Hi,
>
> I am trying to implement a solution where roaming profiles are stored on
> the users home drive but not in the default "Windows NT 5.0 Workstation
> Profile" directory. The directory will be the name of the user's
> workstation. So in effect, a user will get one profile per machine.
>
> I am able to do this using the Zenworks User Policy Package (Windows
> Desktop Preferences) and rather than storing the profile on the users
> home directory, "Storing User Profile in Network Directory Location".
>
> I've gotten the following to work using:
> \\myservername\apps\Home\%username%\%computername%
>
> My question is:
>
> Is it possible to totally variablise the path so that the policy can be
> applied to users regardless of what their home server\volume is?
>
> i.e. \\%Home_Directory\%computername%
>
> I've tried many combinations (eg. using %home_drive%, %<home_drive>,
> removing the two \\, etc) and cannot get this to work.
>
> Is there some variable that I can use that refers to the user's home
> location that works in the Policy?
>
This has been discussed and the answer seems to be "No, at least not at
the time Windows does its work on the user profile."
Btw
\\myservername\apps\Home\%username%\
didn't seem to work the last time I tried it. Did it work for you?
Deyan

Similar Messages

  • Change windows profile location for all accounts?

    My OD server is 10.3.9, my 3 document servers are all 10.4.8.
    Is there any way to change the profile path location for ALL accounts all at once?
    The previous location was:
    \\server\share\username\Library\Profile
    That information is now gone (somehow). So, I need to add that information back to each account. Only problem is, I have 2600 accounts.
    Also, can something similar be done for the home directory path? I think it's just the default \\server\share\username, but I want to make sure it matches up with what was there before.
    Thanks in advance!! Any help would be appreciated!!

    The setting 'logon path = \\$server\$user\$path' should help you. This is set in the text configuration file /etc/smb.conf on the OD server. You may run `man smb.conf` in a Terminal to learn more about the 'logon path' setting and others.
    Note that you may also set a profile path in the Workgroup Admin GUI. The GUI will take precedence over the text configuration file for each individual.
    Good luck!
    - Joe Kotran
    Mac Pro   Mac OS X (10.4.8)  

  • Roaming Profile Variables - User Policy

    HI there,
    I am trying to implement a different roaming profile location based on PC, and following TID10073109 I had theorised that creating a local environmentvariable called "roam" and referencing it in the ZENworks Roaming profile location would work.
    eg: \\%roam%\Profiles\%USERNAME%
    It however, does not. Nor does the PC generate any error or log anything in the event log as it normally would if the location specified was invalid.
    If I replace %roam% with the actual servername it works as expected - is this a bug?
    I am currently using W2k, Client 4.83SP2 and ZEN 4.0.1 IR4
    Every other time I use %roam% it works - mapping drives etc etc.
    Help Anyone?
    thanks

    Strange then that %USERNAME% works just fine.
    I have tried hosts file, system and user - none work! DO you know if this is fixed in 6.5 or 7?
    cheers
    >>> Marcus Breiden<[email protected]> 20/01/2006 12:55 >>>
    On Fri, 20 Jan 2006 08:07:54 GMT, Peter Rowe wrote:
    > it's a system variable. This is a terminal server (citrix) so I would not
    > like to have to define user variables for each user.
    hmm.. you could try IR7 agent... but I have the gut feeling that the
    profile part doesn't resolve variables..
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Changing backup location to prevent bloated roaming profile

    In Windows 7 and Vista, iTunes backs up the iPhone to C:\Users\%username%\AppData\Roaming\Apple Computer\MobileSync\Backup which is part of the roaming profile. This bloats the roaming profile from around 100MB to over 2.5GB, making it very slow to log on and log off the PC, as the roaming profile is synchronised each time over the network with the copy on the server. How can I make iTunes use a location that is stored locally only, for example somewhere within C:\Users\%username%\AppData\Local\Apple Computer? This problem also occurs on Windows XP, just with different file locations.

    While it doesn't seem possible to change the location used by iTunes for the backup it may be feasible to redirect the data to another folder using a junction. Install NTFS Link. Move the folder *<Profiles>\<AppData>\Apple Computer\MobileSync\Backup* to another location, then create an empty folder called Backup in *<Profiles>\<AppData>\Apple Computer\MobileSync* and use NTFS Link to create the junction.
    I've tested it out just now moving my backup folder into C:\iTunes\Backup and iTunes behaved normally during a sync of my iPhone, I'm just moving the folder to an external drive to prove it still works properly when the link is to a different drive but the move is going to take an hour! Lots & lots of tiny files... What is not so clear is how the roaming profile behaves when it meets the junction. If it backs up the link rather than following it through to the data at the other end then you should get the behaviour you are after. Test it and see.
    tt2

  • I would like to change the destination location for the urlcassifier3.sqlite file, so it saves to the computer instead of the user profile. How?

    urlclassifier3.sqlite is huge and eats up my profile space on my user account. Is there anyway to change the location this file saves to?

    Unless you are using a non-default Profile location, that file isn't even in your actual Profile folder. It is in a secondary "profile" folder under Local Settings\App Data, instead App Data\Roaming. ''Or something like that, I use WinXP on my Windows partition.'' If you have relocated your Profile folder, all the files from "Local Settings" will end up in the relocated Profile folder.
    As far as moving it - sorry, the developers didn't provide a preference that can be modified to be able to move that specific file; there isn't a pref to move anything but the Cache in any version above Firefox 2.0.0.x.
    The way I see it you have two options: <br />
    # Turn off the '''''Block reported'' attack sites''' and '''web forgeries''' preferences in the Security tab in options, that service is disabled altogether, and delete that file.
    # Or delete that file periodically so that is doesn't get too large, like when it reaches like maybe 35 to 40,000Kb , and let Firefox rebuild that file.
    Depending on the security suite or A-V application you are using, you may have a second anti-phishing / web forgery application installed, and don't really need the default service that comes with Firefox.
    ''I hate that damn file - I have over 40 Profiles which I use to test different add-on configurations and because I have 12 different versions of Firefox installed. I routinely turn those prefs off and delete that file in the Profiles that I rarely use for "surfing".'' I do have those prefs enabled on the 8 Profiles that I use on a semi-regular basis, though. My A-V program is a free version without the bells & whistles that come with the "paid" versions.

  • Roaming profile in multiple servers and multiple locations

    I am planning to keep our roaming profile in Primary Domain Controller and when it fails it has to get the profile from Child Domain Controller. The child dc can be in the same location or in any branch location.
    Could I have the configuration steps?
    I am using 2008 server r2.
    Thank you.
    Firozali.

    Hi Firozali,
    >>I am planning to keep our roaming profile in Primary Domain Controller and when it fails it has to get the profile from Child Domain Controller
    As far as I know, we can change the storage location of roaming user profiles from one server to another server. However, we can’t automatically failover the storage location
    of roaming user profiles.
    Regarding how to configure roaming user profiles, the following article can be referred to for more information.
    Configuring Roaming User Profiles
    http://technet.microsoft.com/en-us/library/cc738596(WS.10).aspx
    Regarding how to move roaming user profiles from one server to another, the following article can be referred to for more information.
    Moving Active Directory roaming profiles to another server
    http://niktips.wordpress.com/2012/02/09/moving-active-directory-roaming-profiles-to-another-server/
    Please Note: Since the above website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Frank Shen

  • Default Keyboard input change in using roaming Profile on different Win 7

    We found a strange problem on default Keyboard setting.
    We are using roaming profiles for all users.
    One of our users is using two Windows 7. One Windows 7 is VDI for working out of office and another Win 7 is her local PC.
    She is only using Two keyboard input: Chinese Traditional English and Chinese Traditional Pinyin.
    Whenever she had used the Windows 7 VDI, when she comes back to office and use her local PC, the default Keyboard input will automatically change to Chinese Traditional Pinyin.
    The user said she had not changed any default keyboard input in the VDI of local PC.
    Is there anything we can do for this issue?
    Ivan

    Hi Ivan,
    I am just writing to check the status of this thread. Was the information provided in previous reply
    helpful to you?
    Do you have any further questions or concerns? Please feel free to let us know.
    If you have any feedback on our support, please click
    here
    Karen Hu
    TechNet Community Support

  • Impact on roaming profile accounts if we Change User logon Name to Employee Number format in Active Directory for all User accounts

    I want to understand if we change User logon Name to Employee Number format in Active Directory for all User accounts, then what would be the impact on existing profile. Whether we need to change it manualy or it will connect to same profiles in terminal
    session.
    As i observed it create new profile after logon name changed to employee number where existing users profile settings get fails to load and prompt for new settings (such as outlook reconfiguration, share drive mapping etc.).
    Kindly let me know the proper process to overcome with this, how to connect same existing roaming profile with employee number format change.

    Hi,
    What if we change the user name of user account, will it have impact on roaming profiles.
    Yes, it will affect roaming profiles. Please rename the roaming profile folder as the new user account name, in addition, change the profile path in ADUC.
    Here is an related article below for you:
    How to Rename a Windows 7 User Account and Related Profile Folder
    http://social.technet.microsoft.com/wiki/contents/articles/19834.how-to-rename-a-windows-7-user-account-and-related-profile-folder.aspx
    Best Regards,
    Amy

  • Can't change Window User's Profile Location

    I would like to change the Window User's Profile Location. I've followed the instructions on page 85 of User Management Apple's document unsuccussefully.
    In the Windows tab of Group Management, I have enter my new SMB sharepoint :
    User Profile Path : \\servername\sharename\folder\usershortname
    The Window Client's computer is recocgnized by the OD / PDC Leopard server, I can login without any problem, but at the end of the Window XP session's, the profile is still saved at //ODMasterServer/Users/Profiles/.
    The strangest is that in XP I perfectly reach \\servername\sharename\folder\ and can write what I want within.
    I think that the Leopard PDC doesn't send the correct information to the client for the profile folder path's.
    Where can I verify or change it ?
    A solution would be to write a login script for the client, any idea of a short script ?

    I solve partialy my problem.
    I use a Windows Server 2003 with file sharing.
    1) Add the server the same way you add an XP client computer in the OD domain.
    2) Create a file sharing using the server admin console (DO NOT USE the file sharing on the properties of the file) choosing full access for admin and read/write access for users
    3) In the security of the shared directory add the OD admistrator's (be careful domainnamedomainadmin not only domain_admin) and give him full access.
    So apparently the PDC and the SMB doesn't work correctly in Leopard Server apart for the file /Users/Profiles.
    It works more or less fine.
    Now, I want to hide the home's and profil's file to the other users (mac or windows).

  • EAP-Chaning vlan change with roaming profiles

    Hi
    While doing eap-chaining i change vlan, when user is posture compliant, works great...
    But i also use roaming-profiles.
    So when i log off, the vlan changes back to default immediately, and syncronization off roaming-profile fails, because of the vlan change.
    I tryied th set the" vlan detect interva"l in the Nag-agent to 10sec, but it didn´t change anything.
    Is it possible to have the switch or Anyconnect NAM client to delay the vlan change ??
    Regards Henrik

    I just redid the install and used the "migrate to 5.2" and everything came over again and looks alittle better. But when I try to use LDAP for roaming (Netscape 4.7ish) it says that it can't connect to the 'Roaming Server".
    -Mark

  • Roaming profile gets corrupted after password change during session logon.

    When users are force to change password during logon (after it has expired) their roaming profile gets corrupted. All workstations are Windows 8 and domain is Server 2008 R2. The delete cached profile copies policy is enabled and therefore the issue matches
    exactly with http://support.microsoft.com/kb/971338/en-gb except it's the wrong OS.
    I've been trying to find a hotfix for Windows 8 without any luck so just wondering if anybody managed to get around this issue.

    Hi,
    Have you tried the workaround method in the link? did it worked? Actually, form now, there is still no helpful hotfix to fix this problem.
    In addition, what about change password from other client? not Windows 8.
    Roger Lu
    TechNet Community Support

  • How do I use long path names ("\\?\UNC\...") with Server 2008 roaming profiles?

    Hey folks!
    I administrate a Windows Server 2008 R2 SP1 Domain with about 40 users on
    Windows 7 SP1 clients. Because the users often switch between the many PCs, I am using Roaming Profiles which tend to produce errors with different application-specific paths and files inside the users profiles.
    As one of many example, our standard mail application Thunderbird produces paths and files according to folders/subfolders and mails in a user's mailbox. Another one is Microsoft Office's Auto Recovery files which reside in a user's profile and can
    get very long.
    These paths and filenames often extend the allowed max. path of about 256 characters, when (on log on or off) the synchronization process between the client and the server takes place, leading to errors in the event log and a notification to the user about
    the conflict:
    "Event ID 1509 - Windows cannot copy file \\server\share\users\user123.v2\AppData\Roaming\looooong to location C:\Users\user123\AppData\Roaming\looooong. DETAIL - The filename or extension is too long."
    In the long run this leads to different file versions on different clients which - in the case of Thunderbird - leads to missing mails.
    After extensive searches and lectures of forums - including this - I haven't found a solution for this problem.
    So my question is if there's a way to use the extended max path with roaming profiles and if so how do I get it to work?
    I tried changing the profile path of a test user in the Active Directory user preferences from "\\server\share\profiles\test_user" to something like "\\?\UNC\server\share\profiles\test_user" without any changes in the system's behavior.
    Also I think that because this is such a fundamental problem somebody must have come up with a solution for it...
    Thanks in advance,
    Nico

    Hi,
    Thanks for your posting.
    The Event 1509 can happen if the destination path of the users profile is on a server with a long name and share folder name. For detail information, please refer to:
    User profile cannot be loaded with Event ID 1509, DETAIL - The filename or extension is too long
    http://blogs.technet.com/b/win7/archive/2011/02/15/user-profile-cannot-be-loaded-with-event-id-1509-detail-the-filename-or-extension-is-too-long.aspx
    User profile cannot be loaded with Event ID 1509, DETAIL - The filename or extension is too long
    http://support.microsoft.com/kb/2536571
    Hope this helps.
    Regards.
    Vivian Wang
    TechNet Community Support

  • Roaming Profile Folder Creation Immediately Inaccessible

    Set up is AD 2008.  Terminal 2012 R2, Fileserver 2012.
    Before we've had it set so we could create a user in AD, log them onto the Terminal, it creates the profile, which on log out is saved to its roaming location on the Fileserver with a V2 after it.  In their profile field in AD, that Fileserver location
    was given as well.
    Something changed recently and we're not sure what.  Now if I create a user in AD, and log them into the Terminal, it gives me a message that a temporary profile is being used for this log on.  When I log out, it creates the V2 on the Fileserver,
    but I'm unable to access it even with admin credentials.  I've been able to change the owner, but it doesn't allow me to delete that folder and try again.  I have been able to run this
    SET DIRECTORY_NAME="C:\profilelocation"
    TAKEOWN /f %DIRECTORY_NAME% /r /d y
    ICACLS %DIRECTORY_NAME% /grant administrators:F /t
    PAUSE
    where the profile location is the folder in question and have it open it up enough to delete so we can troubleshoot.  But doing that doesn't change the initial Terminal status of using a roaming profile and it using a temporary profile.
    On the terminal server, I have also found the registry setting for that user and deleted it (the one with the .bak ending).  That allows a good logon if I remove the profile location setting in AD.  But when I move the folder to the fileserver,
    and then add the location back in AD, I get the Temporary Profile error again.
    Any ideas where to start looking?  I don't think we've changed any GPs that affect our terminal users.  Current users are fine, but I won't be able to create any new users and have them use a roaming profile.
    Ben Rollman

    Well, I'm still not sure what changed.  Here's what I've done so far.  (Email to my boss yesterday.)
    I set up a test container under States and moved all the state user, test user, etc into it.  Then I backed up the current ExtUsers_UsersGPO settings and imported them
    into a new GPO called TextExt… and enabled the computer settings.  It had the following but the Computer Setting wasn’t enabled so it wouldn’t have done that.
    Policy
    Setting
    Comment
    Add the Administrators security group to roaming user profiles
    Enabled
    I deleted the local and roaming file, and for good measure the registry entry.  I logged in as “testuser” and didn’t receive any problems.  Created a test folder,
    test file, logged off.  I see the testuser.V2 on the FS, but I can’t access it, like before.
    I run the following script to change it so I can access it.
    SET DIRECTORY_NAME="C:\Files\Profiles\testuser.v2"
    TAKEOWN /f %DIRECTORY_NAME% /r /d y
    ICACLS %DIRECTORY_NAME% /grant administrators:F /t
    PAUSE
    The FS profile is set for full rights for domain and local admin, but no user.  So I add the user as the owner, and give the user full rights.  Log in, and I get
    this.
    Your roaming profile is not synchronized correctly with the server. Windows will load your previously-saved local profile instead. See the previous events for details.
    And these in event viewer.
    Windows cannot copy file
    \\statefs\Profiles\testuser.V2\ntuser.ini to location C:\Users\testuser\ntuser.ini. This error may be caused by network problems or insufficient security rights.
    DETAIL - The system cannot find the file specified.
    Windows could not load your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you log off. Windows could
    not load your profile because a server copy of the profile folder already exists that does not have the correct security. Either the current user or the Administrators group must be the owner of the folder.
    I had put the icons on the FS folder just to see if it would show up.  I saw the test folder okay in both.  But when I logged back in, the shortcut icons weren’t
    there.  AND when I logged off, it overwrote the FS folder, removing the icons.
    From there I checked the TS local profile folder (just in case) and saw it had no testuser rights at all.  The owner of that folder was SYSTEM.  So just for fun I
    changed the owner to testuser, made sure to set it for all subfolders, logged in, no error message.  Logged out, put shortcuts into the desktop folder on FS, logged back in, no errors and the shortcuts are there.
    So.
    I don’t know if it’s the GP or the fact that maybe the TS folder wasn’t getting the right permission to allow the roaming process to write to it or both.  I’m going to
    try to recreate this, see if there’s a way to shorten the process or create a template like before.
    Ben Rollman

  • 2012 R2 RDS - Your roaming profile was not completely synchronized - Event ID 1509 1504 - After installing Update 1

    In my deployment I have 2 brokers, and 3 session hosts. I finally installed Update 1 and all following updates available (the ones that were available about two weeks before). Also updated Forefront to v4.3 (SCCM managed).
    I have roaming TS profiles enabled with folder redirection and also policy set to "delete local copy of roaming profiles" after logout. Profile folders are on a network share (Server 2003). Things were working ok until Update 1 and rest of updates
    got installed.
    I started getting events 1509 and 1504 when users logoff and the screen displays "Your roaming profile was not completely synchronized" message briefly. The only file affected so far is ntuser.pol.
    There are two variations of the event, one claiming it cannot write the local server copy to fileshare, and the opposite, from file share to c:\users\username.
    ====
    Windows cannot copy file \\server\profileshare\username.V2\ntuser.pol to location C:\Users\username\ntuser.pol. This error may be caused by network problems or insufficient security rights. 
     DETAIL - Access is denied.
    =====
    Windows cannot copy file C:\Users\username\ntuser.pol to location \\server\profileshare\username.V2\ntuser.pol. This error may be caused by network problems or insufficient security rights. 
     DETAIL - Cannot create a file when that file already exists.
    ========== 
    Permissions have not changed. The only thing changing is the Updates installed on the servers. I tried running with AV realtime protection off, no change. Ntuser.pol is already on the exclude list in Forefront.
    This is happening on my test server and 2 prd servers. Any ideas. I looked for related hotfixes but not coming up with anything.
    The whole reason for installing Update 1 was so that we can continue to receive security updates...

    Hi,
    Thanks for your comment.
    When a roaming profile user logs off, the NTuser.dat file is always updated on the roaming profile share. The corresponding NTuser.pol file is only updated if the timestamp of the local copy that was created at logon is newer than the copy found in the roaming
    profile share. A synchronization problem may occur if a user with a roaming profile logs on to multiple client computers at the same time. This can eventually cause policy settings to be applied incorrectly. 
    For example, if the Group Policy loopback feature is applied on one of the client computers, the NTuser.dat file on the roaming profile share may contain loopback policy settings that are not present in the NTuser.pol file. If this problem occurs, the loopback
    policy settings that are targeted at one client computer may be unexpectedly applied to a user who logs on to a different client computer.
    So please check the permission or group policy which you have applied and also whether you are performing multiple connection at a time. 
    Note: This KBhere providing only for reference as it’s for previous version.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Roaming Profile at User level simply not copying...no error

    Little rusty on setting this up but if I recall if I choose to setup roaming profiles at the user object level then I simply need to create a share with the appropriate share/NTFS permissions then assign the UNC path in the Profile tab in ADUC?  We
    are running Win 2008 R2 with Win 7 SP1 clients.
    If this is correct then I have done this and the profile will simply not roam...no errors in event log, the test user simply logs in and has a normal local profile.  While I am logged in as this user I can access the above UNC and create a folder so
    I think permissions are ok.
    Originally this computer and test user were in an OU where I set a GPO setting up Folder Redirection.  Thinking that I possibly configured something incorrectly there I moved the user and computer object to a basic OU where only the default domain policy
    is applied.  No change.
    I don't remember getting this part working to be such a hassle so I am at a loss now how to troubleshoot further.
    Thanks

    Hi,
    Since Roaming Profile doesn’t work correctly, and you could not find any error in the event logs. At this time, I suggest you’d better first check for the correct permissions on the profile
    share. In addition to logging events in the Application Event log, User Profiles can provide a detailed log to aid troubleshooting. To create a detailed log file for user profiles:
    1. Start regedit and locate the following path: HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
    2. Create a new value called UserEnvDebugLevel as a REG_DWORD, and set the value to 30002 in hexadecimal format.
    The log file can be found at: %windir%\debug\usermode\userenv.log
    Regarding how to troubleshoot Roaming Profile issue, please try to refer to the following article to see if it helps.
    Troubleshoot User Profiles with Events
    http://technet.microsoft.com/en-us/library/jj649075.aspx
    Here are some guide about how to configure Roaming Profile, they may be useful to us.
    Configuring Roaming User Profiles
    http://technet.microsoft.com/en-us/library/cc738596(WS.10).aspx
    Group Policy Recommendations for Roaming User Profiles
    http://technet.microsoft.com/en-us/library/cc781862(v=ws.10).aspx
    How to configure Roaming Profiles and Folder Redirection
    http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

Maybe you are looking for