PC Review


Reply
Thread Tools Rate Thread

ADM file enable/disable setting?

 
 
=?Utf-8?B?c3RldjM3OQ==?=
Guest
Posts: n/a
 
      20th Jun 2006
I created an adm file that sort of works. Below is an example of one of the
policies.
The policy is suppossed to change the "SoundNotification" value to "1" or
"0" in the registry. When I set it up without a CHECKBOX, it doesn't change
the value when I click the "Enabled" or "Disabled" radio buttons. When I do
use the CHECKBOX, it changes the value, but I have to click the "Enabled"
radio button, then also check the box to enable it which will set the
registry setting to "1". as it should.

However, if I click the "Enabled" radio button, and leave the CHECKBOX,
unchecked, it doesn't change the registry setting. Though if I click another
policy and then go back to the previous policy, the radio button setting is
now at "Disabled", and the registry setting still doesn't change.

I've tested by manually changing the registry setting, refreshing the policy
on the one machine the GPO applies to and checking the registry.

How can I set the text from the adm file below to enable or disable (change
from 1 to 0), the policy by clicking only the "Enabled" or "Disabled" radio
buttons? This way the policy will show as enabled or disabled when viewed in
the right pane of the GPO editor.

Thanks for any help or suggestions!
-Steve


POLICY !!POL_DrWatson10

EXPLAIN !!explain_DrWatson10

KEYNAME "SOFTWARE\Microsoft\DrWatson"
PART !!labeltext CHECKBOX

VALUENAME "SoundNotification"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0

END PART

END POLICY
 
Reply With Quote
 
 
 
 
Darren Mar-Elia \(MVP\)
Guest
Posts: n/a
 
      20th Jun 2006
Try taking out the PART section and just having the ValueOn, ValueOff
options. You shouldn't need a PART tag here for something like this.

--
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy
Check out http://www.gpoguy.com -- The Windows Group Policy Information Hub:
FAQs, Whitepapers and Utilities for all things Group Policy-related
And, the Windows Group Policy Guide is out from Microsoft Press!!! Check it
out at http://www.microsoft.com/mspress/books/8763.asp
GPOGUY Blog: http://blogs.dirteam.com/blogs/gpoguy



"stev379" <(E-Mail Removed)> wrote in message
news:103BCFC4-AC45-4C50-B1BE-(E-Mail Removed)...
>I created an adm file that sort of works. Below is an example of one of
>the
> policies.
> The policy is suppossed to change the "SoundNotification" value to "1" or
> "0" in the registry. When I set it up without a CHECKBOX, it doesn't
> change
> the value when I click the "Enabled" or "Disabled" radio buttons. When I
> do
> use the CHECKBOX, it changes the value, but I have to click the "Enabled"
> radio button, then also check the box to enable it which will set the
> registry setting to "1". as it should.
>
> However, if I click the "Enabled" radio button, and leave the CHECKBOX,
> unchecked, it doesn't change the registry setting. Though if I click
> another
> policy and then go back to the previous policy, the radio button setting
> is
> now at "Disabled", and the registry setting still doesn't change.
>
> I've tested by manually changing the registry setting, refreshing the
> policy
> on the one machine the GPO applies to and checking the registry.
>
> How can I set the text from the adm file below to enable or disable
> (change
> from 1 to 0), the policy by clicking only the "Enabled" or "Disabled"
> radio
> buttons? This way the policy will show as enabled or disabled when viewed
> in
> the right pane of the GPO editor.
>
> Thanks for any help or suggestions!
> -Steve
>
>
> POLICY !!POL_DrWatson10
>
> EXPLAIN !!explain_DrWatson10
>
> KEYNAME "SOFTWARE\Microsoft\DrWatson"
> PART !!labeltext CHECKBOX
>
> VALUENAME "SoundNotification"
> VALUEON NUMERIC 1
> VALUEOFF NUMERIC 0
>
> END PART
>
> END POLICY



 
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
Autoarchive Enable / Disable Registry Setting =?Utf-8?B?TmljayBSdXNjaA==?= Microsoft Outlook Installation 0 4th Jan 2006 12:46 AM
enable\disable display setting Rew Windows XP Video 0 20th Nov 2003 12:08 PM
Enable or disable nic registry setting Steve Microsoft Windows 2000 Registry 1 13th Nov 2003 06:42 AM
Enable or disable nic registry setting Steve Microsoft Windows 2000 Registry Archive 2 13th Nov 2003 06:42 AM
Enable or disable nic registry setting Steve Microsoft Windows 2000 Registry Archive 0 13th Nov 2003 04:15 AM


Features
 

Advertising
 

Newsgroups
 


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