Who is good with *.adm file creation?

Permabanned
Joined
22 Apr 2007
Posts
1,805
I'm looking to create a .adm template to apply to Group Policy to make a permanent regisrty entry on client PCs (using Active Directory).

Just wondering if anyone has done this before?
 
I see,

But how will this work post logon? Or will it write the entry to the registry once, so, next time the user logs on the message appears, and then the script continues to run everytime they logon (incase the registry entry was changed)
 
Thank you very much for your help.

I've had a play today and found a slightly more effective way.

I created an ADM file and added it as a template to the GPO.

I then set the filter to allow changes to all templates and managed to set it up this way so its covered by GP whatever the situation.

Here's the script I created:-

Code:
CLASS MACHINE

CATEGORY !!Winlogon

	POLICY !!DefaultDomainNameBox
		 KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Winlogon"
			PART !!DefaultDomainNameBox 
			EDITTEXT
			DEFAULT !!DefaultDomainName_default
			VALUENAME "DefaultDomainName"
			END PART
	END POLICY

	POLICY !!WelcomeBox
		 KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Winlogon"
			PART !!WelcomeBox 
			EDITTEXT
			DEFAULT !!Welcome_default
			VALUENAME "Welcome"
			END PART
	END POLICY

	POLICY !!LogonPromptBox
		 KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Winlogon"
			PART !!LogonPromptBox 
			EDITTEXT
			DEFAULT !!LogonPrompt_default
			VALUENAME "LogonPrompt"
			END PART
	END POLICY

END CATEGORY

[strings]
Welcome_default="CUSTOMISE THE BLUE BAR"
LogonPrompt_default="YOUR LEGAL NOTICE HERE
DefaultDomainName_default="MYDOMIAN"
WelcomeBox="Enter Login screen title"
LogonPromptBox="Enter custom login prompt"
DefaultDomainNameBox="Enter Default Domain Name"
Winlogon="Configure Login Prompt & Default Domain"
 
thanks, yeah me too. Searched for a bit but its hard to describe exactly what you want as most just talk about the standard pop up window between CTRL, ALT, DEL and the logon window.

Thanks again
 
Back
Top Bottom