Results 1 to 2 of 2

Thread: Problem using environment variables

  1. #1
    ss
    ss is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    1

    Default

    I'm using the following piece of code in order to edit a registry preference however, it's putting the value in the registry as a string as opposed putting the actual computer name...

    PART "Server Name" EDITTEXT EXPANDABLETEXT
    DEFAULT %COMPUTERNAME%


    what am i doing wrong? any ideas?

    thanks a lot in advance!

  2. #2
    Anthony Spencer is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    2

    Default

    I am also unable to use ev's in my custom adm. I am using a custom adm which maps network drives. However, I would like to be able to map one of the drives to the users' personal drive using a %username% ev. It tries to map it to the drive with string name %username% instead of the actual user.

    Any ideas Jeremy or anyone else? BTW Group Policy, Profiles, and Intellimirror rocks the house. Up until now, I haven't needed to look anywhere else for an answer on GPOs.

Posting Permissions

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

Search Engine Friendly URLs by vBSEO