[windows2000] Re: ADM to set Favorite location

  • From: "Jim Kenzig http://thethin.net" <jimkenz@xxxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Mon, 2 Feb 2004 21:21:00 -0500

Problem being that your H: drive is mapped after policies are applied. YOu
have to use something like
%homedrive%%homepath%  instead of the drive name.

Regards,
Jim Kenzig
http://thin.net


-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx]On Behalf Of Anthony Abraham
Sent: Monday, February 02, 2004 8:02 PM
To: 'windows2000@xxxxxxxxxxxxx'
Subject: [windows2000] ADM to set Favorite location


Forgot the ADM - here it is....

Hi

Ive created an ADM file to set the location of my IE favorites.  If the
machine is a desktop, I want the path set to H:\Favorites, if its a
Notebook, the path should be local.  When I run the ADM, I get another entry
that is created incorrectly.  I basically want to update the following key
only:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders
"Favorites"="H:\Favorites"

My ADM does this but also adds

(Default)       H:\\Favorites"
"Favorites"="H:\\Favorites"
"H:\Favorites"="H:\Favorites"

Can anyone tell me what is wrong with this ADM and what I need to do to set
the one key only

CLASS USER
   CATEGORY "Cuscal Modifications"
      CATEGORY "Favorites"
         KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders"
         POLICY "Favorites"
            PART "Favorites Path" DROPDOWNLIST
               VALUENAME ""
               ITEMLIST
                  NAME "Desktop"
                  VALUE "H:\Favorites"
                  NAME "Notebook"
                  VALUE "%USERPROFILE%\Favorites"
               END ITEMLIST
            END PART
         END POLICY ; Favorites
      END CATEGORY ; Favorites
   END CATEGORY ; Cuscal Modifications

[STRINGS]


Thanks

********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: