Windows Thread, Help with a custom ADM file please in Technical; Hello
I am currently having a go at creating a custom ADM file that I can use to configure some ...
14th December 2009, 04:57 PM #1
Help with a custom ADM file please
I am currently having a go at creating a custom ADM file that I can use to configure some phone client software. This is the first ADM file that I have had a go at writing so go easy :P
I want to make some changes to keys located in ....
HKEY_CURRENT_USER\Software\Zultys\MXUSER\C%058%092 Program Files%092Zultys%092Bin%092\Users\USER.NAME\settings
I do not think that i am going to be able to do this am I? As for each different user the key will be in a different place due to the user-name being different (the red highlighted bit)...Or could I put a * there for it go through to the settings folder....?
Any help appreciated
14th December 2009, 05:10 PM #2
Can teh registry resolve %username%? Try that
14th December 2009, 05:18 PM #3
I shall give that a go, Thanks
Originally Posted by j17sparky
14th December 2009, 05:21 PM #4
Only as part of a value for a REG_EXPAND_SZ type. You can't use environment variables in an ADM template because the variable changes according to context - in group policy editor, for example, it will probably be 'Administrator'. You could, of course, specify it as part of the answer when configuring a policy, or as the default answer, just not in key name in the template.
I suggest you script a change like this, since you're changing preference registry entries, not policy entries, and that makes things a whole lot more complex.
15th December 2009, 11:01 AM #5
What you need is ..... * RegToADM - Create custom ADM from exported REG file (support for Windows 2003/2000/XP/NT4/9X).-
Its part of the NUTS package and can be downloaded from:
Yizhar Hurwitz page
Works rather well ....
By SYNACK in forum Windows Server 2000/2003
Last Post: 4th February 2010, 12:56 PM
By mossj in forum Internet Related/Filtering/Firewall
Last Post: 21st August 2009, 12:26 PM
By Minkus in forum Windows
Last Post: 23rd October 2008, 05:09 PM
By robbied69 in forum Windows
Last Post: 5th September 2008, 06:37 PM
By PEO in forum General Chat
Last Post: 8th May 2008, 03:00 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)