Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How do I create a custom ADM template to add registry entries on a user context?

Posted on 2009-02-09
3
Medium Priority
?
1,125 Views
Last Modified: 2012-05-06
Hello,

I have the following .reg file that I need to assign via group policy on a user based context:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global]
"Auxiliary Work Mode 0"="Aux 0 - Default"
"Auxiliary Work Mode 1"="Aux 1 - STREAD"
"Auxiliary Work Mode 2"="Aux 2 - Coaching"
"Auxiliary Work Mode 3"="Aux 3 - Training"
"Auxiliary Work Mode 4"="Aux 4 - Team Meeting"
"Auxiliary Work Mode 5"="Aux 5 - Breaks"
"Auxiliary Work Mode 6"="Aux 6 - Project"
"Auxiliary Work Mode 7"="Aux 7 - System"
"Auxiliary Work Mode 8"="Aux 8 - Callback"

I tried a few things and after reading some various MS support documentation, this is as far as I've gotten:

CLASS USER
CATEGORY "IP Agent AUX Code Settings"
POLICY "IP Agent AUX Code Settings"

KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
VALUENAME "Auxiliary Work Mode 0"
VALUE "Aux 0 - Default"

KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
VALUENAME "Auxiliary Work Mode 1"
VALUE "Aux 1 - STREAD"

KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
VALUENAME "Auxiliary Work Mode 2"
VALUE "Aux 2 - Coaching"

KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
VALUENAME "Auxiliary Work Mode 3"
VALUE "Aux 3 - Training"

KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
VALUENAME "Auxiliary Work Mode 4"
VALUE "Aux 4 - Team Meeting"

KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
VALUENAME "Auxiliary Work Mode 5"
VALUE "Aux 5 - Breaks"

KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
VALUENAME "Auxiliary Work Mode 6"
VALUE "Aux 6 - Project"

KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
VALUENAME "Auxiliary Work Mode 7"
VALUE "Aux 7 - System"

KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
VALUENAME "Auxiliary Work Mode 8"
VALUE "Aux 8 - Callback"
END POLICY
END CATEGORY;

When I try to add this template into a group policy, I get an error in the attached screenshot.

Any help would be appreciated.

screenshot.jpg
0
Comment
Question by:biggytek
  • 2
3 Comments
 
LVL 12

Assisted Solution

by:Krys_K
Krys_K earned 160 total points
ID: 23592355
Hi there

i helped someone recently with their ADm (see link) see if it helps you at all, if not then let me know and i will assist more

http://www.experts-exchange.com/Software/Server_Software/File_Servers/Active_Directory/Q_24113361.html?cid=238#a23559427

Krystian
0
 
LVL 12

Assisted Solution

by:Krys_K
Krys_K earned 160 total points
ID: 23592401
What i was trying to show was that you can use a list box option for your needs, (judging by what you are trying to do that is), and the link will show how to set this up


Krystian
0
 

Accepted Solution

by:
biggytek earned 0 total points
ID: 23671904
I discovered my own solution. I used a tool called Reg2Adm (http://www.novell.com/coolsolutions/tools/13885.html) to import the settings I needed into the ADM, and then I modified the ADM to what I needed. It came out to the following:

CLASS USER
CATEGORY !!categoryname
  POLICY !!policyname
  KEYNAME "Software\Avaya\Avaya IP Agent\General\Personalized\enu\Global"
  EXPLAIN !!IPAgentAUXCodeSettings_Help
    PART "Auxiliary Work Mode 1" EDITTEXT
      DEFAULT "Aux 1 - STREAD"
    VALUENAME "Auxiliary Work Mode 1"
    END PART
    PART "Auxiliary Work Mode 2" EDITTEXT
      DEFAULT "Aux 2 - Coaching"
    VALUENAME "Auxiliary Work Mode 2"
    END PART
    PART "Auxiliary Work Mode 3" EDITTEXT
      DEFAULT "Aux 3 - Training"
    VALUENAME "Auxiliary Work Mode 3"
    END PART
    PART "Auxiliary Work Mode 4" EDITTEXT
      DEFAULT "Aux 4 - Team Meeting"
    VALUENAME "Auxiliary Work Mode 4"
    END PART
    PART "Auxiliary Work Mode 5" EDITTEXT
      DEFAULT "Aux 5 - Breaks"
    VALUENAME "Auxiliary Work Mode 5"
    END PART
    PART "Auxiliary Work Mode 6" EDITTEXT
      DEFAULT "Aux 6 - Project"
    VALUENAME "Auxiliary Work Mode 6"
    END PART
    PART "Auxiliary Work Mode 7" EDITTEXT
      DEFAULT "Aux 7 - System"
    VALUENAME "Auxiliary Work Mode 7"
    END PART
    PART "Auxiliary Work Mode 8" EDITTEXT
      DEFAULT "Aux 8 - Callback"
    VALUENAME "Auxiliary Work Mode 8"
    END PART
    PART "Auxiliary Work Mode 0" EDITTEXT
      DEFAULT "Aux 0 - Default"
    VALUENAME "Auxiliary Work Mode 0"
    END PART
  END POLICY
END CATEGORY

[strings]
IPAgentAUXCodeSettings_Help="When enabled, this will apply AUX code names to the IP Agent AUX Code dropdown box."
categoryname="IP Agent AUX Code Settings"
policyname="IP Agent AUX Code Settings"
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question