+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 31
Windows Thread, Creating a small mandatory profile in Technical; Just a thought but surely it'd be easier to redirect My Docs using the GPO assuming of course it's intended ...
  1. #16
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118
    Just a thought but surely it'd be easier to redirect My Docs using the GPO assuming of course it's intended to be part of a domain

  2. #17
    Ryan's Avatar
    Join Date
    Jan 2008
    Location
    Scotland
    Posts
    537
    Thank Post
    12
    Thanked 16 Times in 15 Posts
    Blog Entries
    1
    Rep Power
    29
    All very useful stuff, thanks guys and gals.

    I guess i'm gonna have to just bite the bullet and try this, do some testing, etc. Just trying to get a handle on it in my head before i do anything

    Keep posting if you think of other handy tips...

  3. #18
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,765
    Thank Post
    898
    Thanked 417 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    87
    Recently we have been having alot of problems with corrupt roaming profiles and slow logons, on checking the roaming profiles, many users had over 30mb of settings information. Something had to be done!

    So I followed the wiki guide and the above post by 'elsiegee40' and have to say it worked really well.

    Logons are now fast, our default profile is 2.5mb now and it puts far less stress on the server. I've updated our scripts to load bginfo.exe and jsprint.exe and changed the userdrive using the active directory redirect.

    All is working well so thanks for all the help. It took about 2hrs this afternoon to make the switch over for 1000 students.

    Now to work out if I can do this for teachers as well
    Last edited by zag; 18th June 2008 at 09:53 AM.

  4. #19
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42
    Quote Originally Posted by powdarrmonkey View Post
    Walk through the registry and strip out everything that isn't neccessary (there's a whole load of junk in there)
    Can you clarify on this...

  5. #20
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,765
    Thank Post
    898
    Thanked 417 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    87
    OK next question

    How do people handle favorites? The mandatory profile doesnt let people save any favorites I would like to give them this facility, ideally it would save them in the users my documents in a folder called "favourites".

    Cheers.

  6. #21
    amfony's Avatar
    Join Date
    Jul 2007
    Location
    Sydney
    Posts
    161
    Thank Post
    29
    Thanked 13 Times in 13 Posts
    Rep Power
    17
    favourites - theres a script on the wiki that changes the location of favourites to a nominated drive.

  7. #22
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,765
    Thank Post
    898
    Thanked 417 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    87
    Thanks, found it here

    Re-direct favourites to home drive

    Any idea how I call the vbscript from my login.bat file?
    Last edited by zag; 18th June 2008 at 12:16 PM.

  8. #23
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,765
    Thank Post
    898
    Thanked 417 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    87
    Just to follow up my post, I ended up using the ADM template from here

    http://blogs.microsoft.co.il/blogs/g...s-via-GPO.aspx

    Works well, but remember to change the filtering in gpedit to show all settings, and make the %username% instead of the userprofile if your using mandatory ones.

    Thanks for all the help with this, I've reduced login times from about a minute to around 15 seconds Now all I need is a dedicated profile server with the 16gb SSD drive sitting on my desk to get it down to 5 seconds

  9. #24
    Osprey's Avatar
    Join Date
    Mar 2007
    Location
    West Yorkshire
    Posts
    65
    Thank Post
    0
    Thanked 6 Times in 4 Posts
    Rep Power
    17
    I edit the user hive in the mandatory profile so that
    "HKey_users\nameofuserhive\Software\Microsoft\Windo ws\CurrentVersion\Explorer\User Shell Folders\Favorites"
    is set to u:\favourites where u: is the home directory. Note that I even use the English spelling!

  10. #25
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    Create it all, renamed from .dat to .man for the change.

    Copy .man onto your machine, load as a hive into your registry, make all registry changes needed, add a few things as well if needed, unload hive, move .man into profile directory, re-map students profile paths.

    Sorted.

  11. #26

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,051
    Thank Post
    209
    Thanked 427 Times in 307 Posts
    Rep Power
    144
    The problems mentioned above with the profile remembering the home directory from the user it was created with is down to permissions within the user.man registry file. It's essential that you load the user.man file into regedit and ensure users can actually write to the sections that are needed. Remember the file permissions are different to the registry permissions within the file. Don't worry about doing this, the actual profile can't be changed by users as the network knows it's a mandatory pofile so it's never saved back to the server, it's only so scripts that are run at logon, and Group Policies can change necessary userkeys in the current_user part of the registry. I think you can also do this in the profiles section of system in control panel, but I normally load it into regedit manually as that's the way I was taught. Don't forget to unload it when you've finished making changes!

    If you don't make this change, you can and probably will experience a lot of problems with group policies not applying properly, and scripts that write to the registry not doing as they're supposed to. While you're editing the file, you can also re-direct favourites to their home drive e.g. h:\favourites by editing the necessary registry key; the folder is automatically created if it doesn't exist when the user logs on.

    Mike.
    Last edited by maniac; 18th June 2008 at 06:46 PM.

  12. #27

    Join Date
    May 2008
    Location
    York
    Posts
    515
    Thank Post
    22
    Thanked 49 Times in 46 Posts
    Rep Power
    24

    profiles

    I have been using mandatory profiles since NT4 days
    I make sure the user i logon as to create the profile in a new user with no history on system. Make sure that the AD profiles, script and home folder is all blank. Log on as user then open Office applications,Acrobat ect as said at start of this post. Log off log on as admin go to profiles and copy local profile to the server\share for profiles remembering to change the permitted to use to include the group that will be using this profile.Rename NTuser.dat to NTuser.man . In AD enter the profile path script path and home folder details.
    You can then assign it to all the users you need to have it.

  13. #28
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    Quote Originally Posted by maniac View Post
    While you're editing the file, you can also re-direct favourites to their home drive e.g. h:\favourites by editing the necessary registry key; the folder is automatically created if it doesn't exist when the user logs on.
    Could you explain how this is done Mike, one of the downfalls is we feel students arent able to save favourites due to having mandatory profiles.

    Specific registry key perhaps?

  14. #29

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,051
    Thank Post
    209
    Thanked 427 Times in 307 Posts
    Rep Power
    144
    Take a copy of your user.man file and work on that. I do not recommend working on the live version as no users will be able to logon while you have the registry hive open!

    1. load the user.man registry hive into Regedit, give it a name when asked, e.g for this example 'students' Note: You have select HKEY_USERS in order to get the option to load a registry hive in regedit.

    2. navigate to the following key; 'HKEY_USERS\students\Software\Microsoft\Windows\Cu rrentVersion\Explorer\User Shell Folders' Obviously substitute 'students' with whatever you called the registry hive when you loaded it.

    3. You will see a string value called Favourites, probably with a default value of %USERPROFILE%\Favorites Change this to something like 'h:\favourites' (I don't recommend using unc paths or the %username% value as they don't seem to work for some reason) Obviously change H:\ for whatever your users' home drive is called.

    4. There is also a second registry location 'HKEY_USERS\students\Software\Microsoft\Windows\Cu rrentVersion\Explorer\Shell Folders' with a string also called favourites which you can change as well. I can never remember which one windows actually uses, so change both for good measure, it doesn't appear to do any harm.

    5. Unload the User.man file from regedit very important this bit, and quite often forgotten. Your profile will not work unless you remember to do this!

    6. Test it! The users should get a directory called favourites on their H:\ (or whatever drive letter you used) and anything added to favourites in IE should appear in this directory.

    Hope that's helpful.

    Mike.
    Last edited by maniac; 18th June 2008 at 10:06 PM.

  15. Thanks to maniac from:

    dyoung5 (19th June 2008)

  16. #30
    pritchardavid's Avatar
    Join Date
    Sep 2009
    Location
    South Ockendon, Thurrock, United Kingdom
    Posts
    932
    Thank Post
    18
    Thanked 64 Times in 58 Posts
    Rep Power
    25
    So whats the best way of doing appdata with the mandatory profile?
    After I made the mandatory profile (I did lanch every program to get all the appdata files made)

    Now everytime I lanch for example serifi web plus I get 'Cant find c:\user\student\thewhatever'
    I have even loaded the registry onto my computer and removed the word student from the registry (Done a search) and replaced it with %USERNAME%

    Noe everytime I load serif webplus it says 'Cant find c:\user\%USERNAME%\thenwhatever'

    This is just with documents and desktop redirected (Start Menu loads from the profile)

SHARE:
+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Can you have a local mandatory profile?
    By dtakias in forum Windows
    Replies: 16
    Last Post: 3rd March 2009, 11:35 AM
  2. Replies: 3
    Last Post: 11th March 2008, 12:28 PM
  3. mandatory profile in vista
    By FN-GM in forum Windows Vista
    Replies: 11
    Last Post: 7th August 2007, 12:00 AM
  4. Mandatory profile and GPO settings
    By windy in forum Wireless Networks
    Replies: 14
    Last Post: 7th April 2006, 11:17 AM
  5. Modifying a mandatory profile - printers
    By GrumbleDook in forum Windows
    Replies: 4
    Last Post: 23rd January 2006, 10:54 AM

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
  •