J
Jason
Hi All,
I'm trying to develop a simple ADM as a proof-of-concept. I want it to
change the registry key that will put up a custom message at logon (like a
number to call if the user needs help).
My code is as follows:
CLASS MACHINE
CATEGORY !!LogOnLogOff
POLICY !!LogonMessage
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Winlogon"
EXPLAIN !!LogonMessage_Explain
PART !!LogonDescription EDITTEXT REQUIRED
VALUENAME "LogonPrompt"
END PART
END POLICY
END CATEGORY
[Strings]
LogOnLogOff="Custom Logon Properties"
LogonMessage="Display Custom Text For Windows Logon."
LogonMessage_Explain="Sets text to appear above the windows login screen."
LogonDescription="Type the text you want to appear."
When I navigate to my 'Custom Logon Properties' directory under
Administrative Templates, no items are shown. I've isolated the error to be
related to the registry key I'm using, as other registry keys work fine (see
changes below):
KEYNAME "Software\Policies\Microsoft\Windows NT\Setup"
PART !!LogonDescription EDITTEXT REQUIRED
VALUENAME "SourcePath"
anyone have any ideas why I can't get this to work?
Thanks!
I'm trying to develop a simple ADM as a proof-of-concept. I want it to
change the registry key that will put up a custom message at logon (like a
number to call if the user needs help).
My code is as follows:
CLASS MACHINE
CATEGORY !!LogOnLogOff
POLICY !!LogonMessage
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Winlogon"
EXPLAIN !!LogonMessage_Explain
PART !!LogonDescription EDITTEXT REQUIRED
VALUENAME "LogonPrompt"
END PART
END POLICY
END CATEGORY
[Strings]
LogOnLogOff="Custom Logon Properties"
LogonMessage="Display Custom Text For Windows Logon."
LogonMessage_Explain="Sets text to appear above the windows login screen."
LogonDescription="Type the text you want to appear."
When I navigate to my 'Custom Logon Properties' directory under
Administrative Templates, no items are shown. I've isolated the error to be
related to the registry key I'm using, as other registry keys work fine (see
changes below):
KEYNAME "Software\Policies\Microsoft\Windows NT\Setup"
PART !!LogonDescription EDITTEXT REQUIRED
VALUENAME "SourcePath"
anyone have any ideas why I can't get this to work?
Thanks!