Monday, November 18, 2013

Tech Note: A Few Useful Group Policy ADMs

Do you work with Windows and ever have a need to enforce items with group policies that are missing from the official ADMs.  Well it is easy enough to make your own, especially for small items.  All you need know is where the setting you want to edit lives in the registry and your are good to go.  I'm offering up here three such ADMs.  I created one of these from scratch, the others are from other places.  All you need do is copy and paste the text between the *** into Notepad and save it as filename.adm.  These all work with Windows 7.


Group Policy ADM to Enable AutoLogon

**********************************************
CLASS MACHINE
CATEGORY "System"
CATEGORY "Logon"
POLICY "AutoLogon"
EXPLAIN "These settings can be used to allow the system to logon automatically. To enable autologon, set the first two settings (AutoAdminLogon and ForceAutologon) to 1, and then fill in the appropriate account information. Keep in mind that this information will be stored in cleartext in the systems registry."
KEYNAME "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"

PART "AutoAdminLogon" NUMERIC REQUIRED TXTCONVERT
VALUENAME "AutoAdminLogon"
MIN 0 MAX 1 DEFAULT "0" SPIN 1
END PART

PART "ForceAutoLogon" NUMERIC REQUIRED TXTCONVERT
VALUENAME "ForceAutoLogon"
MIN 0 MAX 1 DEFAULT "0" SPIN 1
END PART

PART "DefaultUserName" EDITTEXT REQUIRED
VALUENAME "DefaultUserName"
DEFAULT "Username" MAXLEN 128
END PART

PART "DefaultPassword" EDITTEXT REQUIRED
VALUENAME "DefaultPassword"
DEFAULT "Password" MAXLEN 128
END PART

PART "DefaultDomainName" EDITTEXT REQUIRED
VALUENAME "DefaultDomainName"
DEFAULT "Domain" MAXLEN 128
END PART

END POLICY
END CATEGORY
END CATEGORY
***********************************************


Group Policy ADM to Set Text for 3D Screensaver


***********************************************
CLASS USER
CATEGORY "User Environment"
POLICY "Screensaver 3D Text"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Screensavers\ssText3D"
PART "Display:" Edittext
VALUENAME "DisplayString"
REQUIRED
EXPANDABLETEXT
DEFAULT "What ever you want"
END PART
END POLICY
END CATEGORY
**********************************************


Group Policy ADM to Set Default Printer
For this one you will need to go to a machine that is setup with the printer in question as the default and then look in HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device for the proper text to enter when setting this policy.

**********************************************
CLASS USER
CATEGORY "User Environment"
POLICY "Set Default Printer"
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\Windows"
PART "Printer:" Edittext
VALUENAME "Device"
REQUIRED
EXPANDABLETEXT
END PART
END POLICY
END CATEGORY
***********************************************


1 comment:

  1. YEAH! YEEEEEEEEEEEEEEEEEEEAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHH!!!

    ReplyDelete