PC Review


Reply
Thread Tools Rate Thread

ADM: custom template to enter a hex value into the registry

 
 
Hans
Guest
Posts: n/a
 
      24th Aug 2006
I try to convert a registry setting into an ADM, but am not sure how to do
this right. Here's the input:

=====
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\General\cPrintAsImage]
@="TRUE"
"s0"=hex:5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,\
00
=====

And here's what i made:

=====
CLASS USER

CATEGORY "Custom Acrobat Reader"
KEYNAME Software\Adobe\Acrobat Reader\7.0\General
CATEGORY "AR 7 | PrintAsImage"
KEYNAME Software\Adobe\Acrobat Reader\7.0\General\cPrintAsImage
POLICY "HP 6 Technical"
PART "Check to enforce setting on; uncheck to enforce setting off" CHECKBOX
DEFCHECKED
VALUENAME "s0"
VALUEON HEX
5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,00
VALUEOFF HEX 0
END PART
END POLICY
=====

I'm not sure about the "HEX" keyword. Who can fill me in?

Hans.


 
Reply With Quote
 
 
 
 
Darren Mar-Elia \(MVP\)
Guest
Posts: n/a
 
      24th Aug 2006
Hans-
The HEX keyword is not valid in ADM syntax and ADM does not support adding
binary reg values directly. I suspect you may need a logon script to deliver
this reg change.

--
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy
Check out http://www.gpoguy.com -- The Windows Group Policy Information Hub:
FAQs, Training Videos, Whitepapers and Utilities for all things Group
Policy-related
GPOGUY Blog: http://blogs.dirteam.com/blogs/gpoguy



"Hans" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I try to convert a registry setting into an ADM, but am not sure how to do
>this right. Here's the input:
>
> =====
> Windows Registry Editor Version 5.00
>
> [HKEY_CURRENT_USER\Software\Adobe\Acrobat
> Reader\7.0\General\cPrintAsImage]
> @="TRUE"
> "s0"=hex:5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,\
> 00
> =====
>
> And here's what i made:
>
> =====
> CLASS USER
>
> CATEGORY "Custom Acrobat Reader"
> KEYNAME Software\Adobe\Acrobat Reader\7.0\General
> CATEGORY "AR 7 | PrintAsImage"
> KEYNAME Software\Adobe\Acrobat Reader\7.0\General\cPrintAsImage
> POLICY "HP 6 Technical"
> PART "Check to enforce setting on; uncheck to enforce setting off"
> CHECKBOX DEFCHECKED
> VALUENAME "s0"
> VALUEON HEX
> 5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,00
> VALUEOFF HEX 0
> END PART
> END POLICY
> =====
>
> I'm not sure about the "HEX" keyword. Who can fill me in?
>
> Hans.
>
>



 
Reply With Quote
 
Hans
Guest
Posts: n/a
 
      25th Aug 2006
Hi Darren,

Thanks for your reply. It would've been nice if it did but in that case i'll
try it by kix. But i like the GP-architecture... Couldn't i do this
indirectly perhaps? Say, the GP activates a reg import when the option is
selected?

Hans.

"Darren Mar-Elia (MVP)" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> Hans-
> The HEX keyword is not valid in ADM syntax and ADM does not support adding
> binary reg values directly. I suspect you may need a logon script to
> deliver this reg change.
>
> --
> Darren Mar-Elia
> MS-MVP-Windows Server--Group Policy
> Check out http://www.gpoguy.com -- The Windows Group Policy Information
> Hub:
> FAQs, Training Videos, Whitepapers and Utilities for all things Group
> Policy-related
> GPOGUY Blog: http://blogs.dirteam.com/blogs/gpoguy
>
>
>
> "Hans" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I try to convert a registry setting into an ADM, but am not sure how to do
>>this right. Here's the input:
>>
>> =====
>> Windows Registry Editor Version 5.00
>>
>> [HKEY_CURRENT_USER\Software\Adobe\Acrobat
>> Reader\7.0\General\cPrintAsImage]
>> @="TRUE"
>> "s0"=hex:5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,\
>> 00
>> =====
>>
>> And here's what i made:
>>
>> =====
>> CLASS USER
>>
>> CATEGORY "Custom Acrobat Reader"
>> KEYNAME Software\Adobe\Acrobat Reader\7.0\General
>> CATEGORY "AR 7 | PrintAsImage"
>> KEYNAME Software\Adobe\Acrobat Reader\7.0\General\cPrintAsImage
>> POLICY "HP 6 Technical"
>> PART "Check to enforce setting on; uncheck to enforce setting off"
>> CHECKBOX DEFCHECKED
>> VALUENAME "s0"
>> VALUEON HEX
>> 5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,00
>> VALUEOFF HEX 0
>> END PART
>> END POLICY
>> =====
>>
>> I'm not sure about the "HEX" keyword. Who can fill me in?
>>
>> Hans.
>>
>>

>
>



 
Reply With Quote
 
Darren Mar-Elia \(MVP\)
Guest
Posts: n/a
 
      25th Aug 2006
Sure. There are a number of ways to do this with GP:

--put the reg file in a GP-based logon script
--use the free Desktopstandard PolicyMaker Registry extension
(http://www.desktopstandard.com/Polic...Extension.aspx), which
supports REG_BINARY types from a GP Editor interface
--hack into the file, registry.pol, that holds the registry settings, and
add it manually (ok, this one is a little hard :-))


--
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy
Check out http://www.gpoguy.com -- The Windows Group Policy Information Hub:
FAQs, Training Videos, Whitepapers and Utilities for all things Group
Policy-related
GPOGUY Blog: http://blogs.dirteam.com/blogs/gpoguy



"Hans" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Darren,
>
> Thanks for your reply. It would've been nice if it did but in that case
> i'll try it by kix. But i like the GP-architecture... Couldn't i do this
> indirectly perhaps? Say, the GP activates a reg import when the option is
> selected?
>
> Hans.
>
> "Darren Mar-Elia (MVP)" <(E-Mail Removed)> wrote in
> message news:(E-Mail Removed)...
>> Hans-
>> The HEX keyword is not valid in ADM syntax and ADM does not support
>> adding binary reg values directly. I suspect you may need a logon script
>> to deliver this reg change.
>>
>> --
>> Darren Mar-Elia
>> MS-MVP-Windows Server--Group Policy
>> Check out http://www.gpoguy.com -- The Windows Group Policy Information
>> Hub:
>> FAQs, Training Videos, Whitepapers and Utilities for all things Group
>> Policy-related
>> GPOGUY Blog: http://blogs.dirteam.com/blogs/gpoguy
>>
>>
>>
>> "Hans" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>>I try to convert a registry setting into an ADM, but am not sure how to
>>>do this right. Here's the input:
>>>
>>> =====
>>> Windows Registry Editor Version 5.00
>>>
>>> [HKEY_CURRENT_USER\Software\Adobe\Acrobat
>>> Reader\7.0\General\cPrintAsImage]
>>> @="TRUE"
>>> "s0"=hex:5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,\
>>> 00
>>> =====
>>>
>>> And here's what i made:
>>>
>>> =====
>>> CLASS USER
>>>
>>> CATEGORY "Custom Acrobat Reader"
>>> KEYNAME Software\Adobe\Acrobat Reader\7.0\General
>>> CATEGORY "AR 7 | PrintAsImage"
>>> KEYNAME Software\Adobe\Acrobat Reader\7.0\General\cPrintAsImage
>>> POLICY "HP 6 Technical"
>>> PART "Check to enforce setting on; uncheck to enforce setting off"
>>> CHECKBOX DEFCHECKED
>>> VALUENAME "s0"
>>> VALUEON HEX
>>> 5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,00
>>> VALUEOFF HEX 0
>>> END PART
>>> END POLICY
>>> =====
>>>
>>> I'm not sure about the "HEX" keyword. Who can fill me in?
>>>
>>> Hans.
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Hans
Guest
Posts: n/a
 
      28th Aug 2006
Thanks for the links, i'll check 'm out.

Regards, Hans.

"Darren Mar-Elia (MVP)" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> Sure. There are a number of ways to do this with GP:
>
> --put the reg file in a GP-based logon script
> --use the free Desktopstandard PolicyMaker Registry extension
> (http://www.desktopstandard.com/Polic...Extension.aspx), which
> supports REG_BINARY types from a GP Editor interface
> --hack into the file, registry.pol, that holds the registry settings, and
> add it manually (ok, this one is a little hard :-))
>
>
> --
> Darren Mar-Elia
> MS-MVP-Windows Server--Group Policy
> Check out http://www.gpoguy.com -- The Windows Group Policy Information
> Hub:
> FAQs, Training Videos, Whitepapers and Utilities for all things Group
> Policy-related
> GPOGUY Blog: http://blogs.dirteam.com/blogs/gpoguy
>
>
>
> "Hans" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi Darren,
>>
>> Thanks for your reply. It would've been nice if it did but in that case
>> i'll try it by kix. But i like the GP-architecture... Couldn't i do this
>> indirectly perhaps? Say, the GP activates a reg import when the option is
>> selected?
>>
>> Hans.
>>
>> "Darren Mar-Elia (MVP)" <(E-Mail Removed)> wrote in
>> message news:(E-Mail Removed)...
>>> Hans-
>>> The HEX keyword is not valid in ADM syntax and ADM does not support
>>> adding binary reg values directly. I suspect you may need a logon script
>>> to deliver this reg change.
>>>
>>> --
>>> Darren Mar-Elia
>>> MS-MVP-Windows Server--Group Policy
>>> Check out http://www.gpoguy.com -- The Windows Group Policy Information
>>> Hub:
>>> FAQs, Training Videos, Whitepapers and Utilities for all things Group
>>> Policy-related
>>> GPOGUY Blog: http://blogs.dirteam.com/blogs/gpoguy
>>>
>>>
>>>
>>> "Hans" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>>I try to convert a registry setting into an ADM, but am not sure how to
>>>>do this right. Here's the input:
>>>>
>>>> =====
>>>> Windows Registry Editor Version 5.00
>>>>
>>>> [HKEY_CURRENT_USER\Software\Adobe\Acrobat
>>>> Reader\7.0\General\cPrintAsImage]
>>>> @="TRUE"
>>>> "s0"=hex:5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,\
>>>> 00
>>>> =====
>>>>
>>>> And here's what i made:
>>>>
>>>> =====
>>>> CLASS USER
>>>>
>>>> CATEGORY "Custom Acrobat Reader"
>>>> KEYNAME Software\Adobe\Acrobat Reader\7.0\General
>>>> CATEGORY "AR 7 | PrintAsImage"
>>>> KEYNAME Software\Adobe\Acrobat Reader\7.0\General\cPrintAsImage
>>>> POLICY "HP 6 Technical"
>>>> PART "Check to enforce setting on; uncheck to enforce setting off"
>>>> CHECKBOX DEFCHECKED
>>>> VALUENAME "s0"
>>>> VALUEON HEX
>>>> 5c,5c,63,6f,6f,70,65,72,5c,6d,61,67,69,63,6f,6c,6f,72,20,33,33,30,30,00
>>>> VALUEOFF HEX 0
>>>> END PART
>>>> END POLICY
>>>> =====
>>>>
>>>> I'm not sure about the "HEX" keyword. Who can fill me in?
>>>>
>>>> Hans.
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enter the Value Data for ReceiveTimeout in the Registry Bob Windows Vista General Discussion 3 15th Jul 2008 03:07 AM
Custom Animation, Grow/Shrink - how to enter a custom percentage? =?Utf-8?B?VGltIEg=?= Microsoft Powerpoint 2 16th May 2007 10:54 PM
Creating custom template to use as corp New mail message template =?Utf-8?B?TGFycyBKSg==?= Microsoft Outlook Form Programming 8 15th May 2007 08:32 AM
c# webapp template - how to custom a template so it automatically adds files within directories? ddfsdf Microsoft ASP .NET 0 11th Oct 2005 03:47 PM
How to Enter The Registry Editor? Joey Long Windows XP General 2 13th Nov 2003 06:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:17 AM.