+ Post New Thread
Results 1 to 6 of 6
Windows Thread, Create Custom ADM Template in Technical; I need to create an ADM Template I think so I can redirect people's My Music and My Pictures folder. ...
  1. #1

    Join Date
    Sep 2006
    Location
    London
    Posts
    31
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Create Custom ADM Template

    I need to create an ADM Template I think so I can redirect people's My Music and My Pictures folder. We currently use Folder Redirection, but people are putting so much music and pictures on the servers its getting ridiculous. I want to create a template whereby I can redirect these folders to the local user profile.

    I found some documentation from Microsoft to create a adm file but it says its for Windows 2000/NT and I'm using Server 2003.

    Does anyone know any links as to where I can get the syntax to complete this.

    P.s. I have tried a vbscript to this but it didn't really work too well.

    Thanks in advance.

    Rob

  2. #2

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Writing Custom ADM Files for System Policy Editor

    Although the article says it is for 2000, the technique is the same.

    Note though that if you intend to alter the redirection keys, they are outside of the policy tree so they are non-reversible. You will also not see anything in the template when loaded in group policy, to show the options switch off filtering of items that are not fully-manageable.
    Last edited by powdarrmonkey; 4th September 2008 at 06:24 PM. Reason: speeling

  3. #3

    Join Date
    Sep 2006
    Location
    London
    Posts
    31
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by powdarrmonkey View Post
    Writing Custom ADM Files for System Policy Editor

    Note though that if you intend to alter the redirection keys, they are outside of the policy tree so they are non-reversible. You will also not see anything in the template when loaded in group policy, to show the options switch off filtering of items that are not fully-manageable.
    Sorry I don't understand what you mean by the bottom bit. I don't think I'm changing a particular key. Wouldn't changing My Music and My Pictures involve new reg keys? or does my music and my pictures just get encapsulated in folder redirection?

  4. #4
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,203
    Thank Post
    394
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    We wen't down the line of making these changes in our VB login script this way the changes can be undone quickly.

    Code:
    WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Favorites", "U:\Favorites", "REG_EXPAND_SZ"
    WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites", "U:\Favorites", "REG_SZ"
    
    WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal", "U:\", "REG_EXPAND_SZ"
    WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal", "U:\", "REG_SZ"
    
    WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\My Pictures", "U:\My Pictures", "REG_EXPAND_SZ"
    WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\My Pictures", "U:\My Pictures", "REG_SZ"
    
    WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\My Music", "U:\My Music", "REG_EXPAND_SZ"
    WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\My Music", "U:\My Music", "REG_SZ"
    Last edited by cookie_monster; 5th September 2008 at 01:42 PM.

  5. #5
    Newton's Avatar
    Join Date
    Oct 2007
    Posts
    179
    Thank Post
    59
    Thanked 5 Times in 5 Posts
    Rep Power
    14
    I found a until on the web that converts a .reg file to an .adm template, I belive it was called reg2adm ort something like, seamed to work fine.

  6. #6

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Quote Originally Posted by robbied69 View Post
    Sorry I don't understand what you mean by the bottom bit. I don't think I'm changing a particular key. Wouldn't changing My Music and My Pictures involve new reg keys? or does my music and my pictures just get encapsulated in folder redirection?
    No, they involve changing existing keys, which are all held in HKCU\Software\Microsoft\Windows\UserShellFolders from memory. This is outside of the tree which can be fully managed (ie reversed later), HKCU\Software\Policies. Therefore, any changes made outside this tree are tattooed into the users registry until you replace them with some other value; setting the policy back to 'not defined' does not put them back how they were.

SHARE:
+ Post New Thread

Similar Threads

  1. Moodle - Word template to create Moodle XML Quiz
    By lasercat in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 25th October 2010, 12:19 PM
  2. Quick Launch ADM?
    By FN-GM in forum Windows
    Replies: 3
    Last Post: 4th June 2008, 05:41 PM
  3. advice on how to create .adm file
    By PEO in forum General Chat
    Replies: 11
    Last Post: 8th May 2008, 02:00 PM
  4. word 2003 adm
    By chrbb in forum How do you do....it?
    Replies: 11
    Last Post: 20th June 2007, 12:06 PM
  5. ADM Template to set hkey_users.default reg values
    By ryan_powell in forum Windows
    Replies: 1
    Last Post: 2nd December 2006, 08:38 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
  •