+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
Windows Thread, %Userprofile% Variable not being set. in Technical; I have a GPO re-direct of the My Docs folder to the H drive, but on the roamings it can ...
  1. #16

    john's Avatar
    Join Date
    Sep 2005
    Location
    London
    Posts
    10,611
    Thank Post
    1,496
    Thanked 1,051 Times in 920 Posts
    Rep Power
    303

    Re: %Userprofile% Variable not being set.

    I have a GPO re-direct of the My Docs folder to the H drive, but on the roamings it can sometimes go a bit funny and not apply the GPO so I teach people to use the H: drive still, also some programs don't like the My Documents for some reason so having a H: is better.

  2. #17
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: %Userprofile% Variable not being set.

    Up until recently, I have done the same as Ric, and used the 'redirect to users' home drive' setting. This is not the recommended way of doing things though (MS article).

    Now I use the 'Basic - Redirect everyone’s folder to the same location.' option and point it to a location like \\server\userdatashare\staff. Provided the permissions are correctly set, this results in a structure as follows;

    \\server\userdatashare\staff\Username
    \\server\userdatashare\staff\Username\My Documents
    \\server\userdatashare\staff\Username\Application Data
    \\server\userdatashare\staff\Username\Desktop

    I still use the home drive setting on the user account, but it is set to \\server\userdatashare\staff\%username%\My Documents.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Moodle - undefined variable error
    By damienharrison in forum Virtual Learning Platforms
    Replies: 5
    Last Post: 26th September 2007, 10:15 AM
  2. Username variable in the 'Connect to' box?
    By Andie in forum Windows
    Replies: 2
    Last Post: 22nd May 2007, 12:22 PM
  3. Batch: Text file -> Environment variable?
    By PiqueABoo in forum Scripts
    Replies: 5
    Last Post: 13th December 2006, 11:09 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •