+ Post New Thread
Results 1 to 10 of 10
Windows Thread, why doesn't this .adm work in Technical; This active directory template is meant to redirect the user shell folders to a new location, it used to work ...
  1. #1
    mrbios's Avatar
    Join Date
    Jun 2007
    Location
    Stroud, Gloucestershire
    Posts
    2,480
    Thank Post
    351
    Thanked 260 Times in 213 Posts
    Rep Power
    99

    why doesn't this .adm work

    This active directory template is meant to redirect the user shell folders to a new location, it used to work but ive had to delete the policy and remake it

    As of remaking the policy and reattaching the template it hasn't picked up the settings from the template (the GPO settings tab just shows as completely empty under both computer and user)

    Heres the code:
    Code:
    ; Performs Folder Redirection for Favorites and Cookies
    
    CLASS USER
    
    CATEGORY !!ShellSettings
    
    KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
    
    POLICY !!UserFolder
    EXPLAIN !!Redirect_Explain 
    
    PART !!Redirect_Tip1 TEXT
    END PART
    PART !!Recent_location EDITTEXT EXPANDABLETEXT
    DEFAULT "H:\Redirects\Recent"
    VALUENAME Recent
    END PART
    PART !!Redirect_Tip2 TEXT
    END PART
    PART !!History_location EDITTEXT EXPANDABLETEXT
    DEFAULT "H:\Redirects\History"
    VALUENAME History
    END PART
    PART !!Redirect_Tip3 TEXT
    END PART
    PART !!Favorites_Location EDITTEXT REQUIRED EXPANDABLETEXT
    DEFAULT "H:\Redirects\Favorites"
    VALUENAME Favorites
    END PART
    PART !!Redirect_Tip4 TEXT
    END PART
    PART !!Cookies_location EDITTEXT EXPANDABLETEXT
    DEFAULT "H:\Redirects\Cookies"
    VALUENAME Cookies
    END PART
    PART !!Redirect_Tip5 TEXT
    END PART
    PART !!NetHood_location EDITTEXT EXPANDABLETEXT
    DEFAULT "%USERPROFILE%\NetHood"
    VALUENAME NetHood
    END PART
    PART !!Redirect_Tip6 TEXT
    END PART
    PART !!PrintHood_location EDITTEXT EXPANDABLETEXT
    DEFAULT "%USERPROFILE%\PrintHood"
    VALUENAME PrintHood
    END PART
    PART !!Redirect_Tip7 TEXT
    END PART
    PART !!SendTo_location EDITTEXT EXPANDABLETEXT
    DEFAULT "H:\Redirects\SendTo"
    VALUENAME SendTo
    END PART
    PART !!Redirect_Tip8 TEXT
    END PART
    PART !!Templates_location EDITTEXT EXPANDABLETEXT
    DEFAULT "H:\Redirects\Templates"
    VALUENAME Templates
    END PART
    END POLICY
    
    END CATEGORY
    
    
    [strings]
    ShellSettings="Extra Shell Folder Redirects"
    UserFolder="User Folder Shell Redirects"
    Redirect_Explain="Used to Redirect Folders not included in Standard GPO Redirection.\n\nProfile Folder Contents\n\nApplication data: 
    
    Program-specific data--for example, a custom dictionary. Program vendors decide what data to store in the User profile 
    
    folder.\nCookies: User information and preferences.\nDesktop: Desktop items, including files, shortcuts, and folders.\nFavorites: 
    
    Shortcuts to favorite locations on the Internet.\nLocal Settings: Application data, History, and Temporary files.\nMy Documents: User 
    
    documents.\nMy Pictures: User picture items.\nNetHood: Shortcuts to My Network Places items.\nPrintHood: Shortcuts to printer folder 
    
    items.\nRecent: Shortcuts to the most recently used documents and accessed folders.\nSendTo: Shortcuts to document-handling 
    
    utilities.\nStart Menu: Shortcuts to program items.\nTemplates: User template items."
    Redirect_Tip1="Specify Location for Recent"
    Redirect_Tip2="Specify Location for History"
    Redirect_Tip3="Specify Location for Favorites"
    Redirect_Tip4="Specify Location for Cookies"
    Redirect_Tip5="Specify Location for NetHood"
    Redirect_Tip6="Specify Location for PrintHood"
    Redirect_Tip7="Specify Location for SendTo"
    Redirect_Tip8="Specify Location for Templates"
    Recent_location="Recent Location"
    History_location="History Location"
    Favorites_Location="Favorites Location"
    Cookies_location="Cookies Location"
    NetHood_location="NetHood Location"
    PrintHood_location="PrintHood Location"
    SendTo_location="SendTo Location"
    Templates_location="Templates location"
    What is wrong with that?
    Last edited by mrbios; 13th May 2009 at 11:33 AM.

  2. Thanks to mrbios from:

    rh91uk (13th May 2009)

  3. #2

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    Normally if you try and import a custom ADM and it has an error, it will give you a clue as to which line is causing the problem.

    You can then open the ADM template using Notepad and navigate directly to the line in question. Edit > Go To...

  4. #3
    mrbios's Avatar
    Join Date
    Jun 2007
    Location
    Stroud, Gloucestershire
    Posts
    2,480
    Thank Post
    351
    Thanked 260 Times in 213 Posts
    Rep Power
    99
    It didn't pop up and say it had any errors, it just applied fine but without anything actually working.

    I don't have an "edit > go to.." just edit then nothing, unless im thinking of somewhere else

  5. #4

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    That's a bit of mystery then. I presume the policy is based on per user and not per computer? Have you tried creating a new temporary OU and GPO to go with it? It could be conflicting with something else possibly.

    The Edit > Go To... in Notepad - well it's available on 2003 Server (what I am using at the moment) and I believe XP too.

  6. #5
    mrbios's Avatar
    Join Date
    Jun 2007
    Location
    Stroud, Gloucestershire
    Posts
    2,480
    Thank Post
    351
    Thanked 260 Times in 213 Posts
    Rep Power
    99
    I can't find the "go to" bit you speak of, this is on server 2003 and xp too, I've tried creating a new GPO a few times with no luck, applied to different OUs too, i might just try rolling on some .reg file or something i guess in order to change the settings rather than doing it by gpo

  7. #6
    Cache's Avatar
    Join Date
    Apr 2008
    Location
    Cumbria
    Posts
    1,214
    Thank Post
    454
    Thanked 176 Times in 173 Posts
    Blog Entries
    3
    Rep Power
    64
    Have you tried taking off the filter which will only show settings that can be fully managed? (Click on Administrative Templates then View -> Filtering -> Untick the Fully Managed box)

  8. Thanks to Cache from:

    mrbios (13th May 2009)

  9. #7
    mrbios's Avatar
    Join Date
    Jun 2007
    Location
    Stroud, Gloucestershire
    Posts
    2,480
    Thank Post
    351
    Thanked 260 Times in 213 Posts
    Rep Power
    99
    Quote Originally Posted by Cache View Post
    Have you tried taking off the filter which will only show settings that can be fully managed? (Click on Administrative Templates then View -> Filtering -> Untick the Fully Managed box)
    ahhhh you star, that's what i was looking for, cheers

    It's funny how something that seems so complicated can end up being so simple

  10. #8

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    A silent reg install could be the alternative. I would try running it manually on one machine first to see whether it works, or whether there are restrictions in place stopping it being applied. You should check the event logs for this.

    Edit: Good job cache, now why didn't I think of that?

  11. #9

    Join Date
    May 2007
    Location
    Bradford
    Posts
    71
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    16
    Am I right in thinking this adm will redirect a users temporary internet files to their h:?
    not c:\doc settings\username ?

  12. #10
    rh91uk's Avatar
    Join Date
    Sep 2008
    Location
    UK
    Posts
    877
    Thank Post
    137
    Thanked 132 Times in 114 Posts
    Rep Power
    36
    gah Why didn't I find this one before! I was battling with this last night and did a silent reg install in a batch file in the end.

    cheers! definetly saved.

SHARE:
+ Post New Thread

Similar Threads

  1. ADM for WLANs
    By contink in forum Windows
    Replies: 2
    Last Post: 5th December 2008, 05:24 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. Microsft ADM Templates
    By Dos_Box in forum Downloads
    Replies: 0
    Last Post: 15th July 2005, 01:49 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
  •