Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 HALP! Questions on Windows and Windows Server
 Group Policies
 Can someone tell me if this custom adm is ok?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

NMDANGE
Honorable But Hopeless Addict

USA
1700 Posts
Status: offline

Posted - 12/07/2004 :  2:04:43 PM  Show Profile  Visit NMDANGE's Homepage  Reply with Quote
Ok, used Regmon to figure out where TweakUI was setting a registry key. I've never made a custom .adm before, and wanted someone to make sure I did it right

There's no info I can find about these keys except through TweakUI. This is using XP's TweakUI, and I don't have a 2k machine to try it out on. Any insights would be appreciated


CLASS MACHINE

CATEGORY !!System
	CATEGORY !!Logon
		POLICY !!ShowDnsNames
			EXPLAIN !!Dns_Explain
			VALUENAME "DCacheShowDnsNames"
			VALUEON 1
			VALUEOFF 0
			KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\WinLogon"
		END POLICY

		POLICY !!ShowDomainTags
			EXPLAIN !!Tag_Explain
			VALUENAME "DCacheShowDomainTags"
			VALUEON 1
			VALUEOFF 0
			KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\WinLogon"
		END POLICY
	END CATEGORY
END CATEGORY

[strings]
ShowDnsNames="Show full DNS domain names at logon"
Dns_Explain="If this policy is enabled, the list of domains at logon will show full DNS names.  If it is disabled or not configured, NetBIOS names will be shown."
ShowDomainTags="Show additional domain information at logon"
Tag_Explain="If this policy is enabled, then the list of domains on the logon dialog will contain brief information about each domain after the domain name."
System="System"
Logon="Logon"

Michael D'Angelo
MVP-MIIS, Pace University Accounts Administrator / DBA

(MS)NMDANGE
PhoeniX WorX Systems Administrator. If you play Total Annihilation, please join us. http://www.phoenixworx.org

dmarelia
Moderator

USA
2832 Posts
Status: offline

Posted - 12/08/2004 :  01:26:37 AM  Show Profile  Visit dmarelia's Homepage  Reply with Quote
Michael-
A couple things. I changed some things below. The "System" tag was causing issues with the Admin. Template namespace when you loaded this template. If you want a new template to show up in the existing namespace (e.g. under System\Logon) then you have to use the same tag ids as the main ADM that is loading that (in this case system.adm). In system.adm, "System" is referred to as "AdministrativeServices" so I changed your tag to that and all was good. Also, by using Valueon 1 and Valueoff 0, you are setting those reg values to type REG_SZ. I don't know if that is correct but usually these are REG_DWORDs. If you change those lines, as I did below, to Valueon Numeric 1 and Valueoff Numeric 0, you should be good to go:

CLASS MACHINE

CATEGORY !!AdministrativeServices
CATEGORY !!Logon
POLICY !!ShowDnsNames
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\WinLogon"
EXPLAIN !!Dns_Explain
VALUENAME "DCacheShowDnsNames"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END POLICY

POLICY !!ShowDomainTags
KEYNAME "Software\Microsoft\Windows NT\CurrentVersion\WinLogon"
EXPLAIN !!Tag_Explain
VALUENAME "DCacheShowDomainTags"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0

END POLICY
END CATEGORY
END CATEGORY

[strings]
ShowDnsNames="Show full DNS domain names at logon"
Dns_Explain="If this policy is enabled, the list of domains at logon will show full DNS names. If it is disabled or not configured, NetBIOS names will be shown."
ShowDomainTags="Show additional domain information at logon"
Tag_Explain="If this policy is enabled, then the list of domains on the logon dialog will contain brief information about each domain after the domain name."
AdministrativeServices="System"
Logon="Logon"

Darren Mar-Elia
Group Policy Resource Site: http://www.gpoguy.com
Group Policy Blog: http://www.sdmsoftware.com/blog
Group Policy on Twitter:
http://www.twitter.com/grouppolicyguy
***********
Need to compare and Export GPO settings? Get SDM Software GPO Compare -- http://www.sdmsoftware.com/group_policy_compare and GPO Exporter -- http://www.sdmsoftware.com/group_policy_export
Go to Top of Page

NMDANGE
Honorable But Hopeless Addict

USA
1700 Posts
Status: offline

Posted - 12/08/2004 :  09:08:35 AM  Show Profile  Visit NMDANGE's Homepage  Reply with Quote
Yup, they are indeed DWORDs when TweakUI sets them. Thanks!

Michael D'Angelo
MVP-MIIS, Pace University Accounts Administrator / DBA

(MS)NMDANGE
PhoeniX WorX Systems Administrator. If you play Total Annihilation, please join us. http://www.phoenixworx.org
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2009 Mark Minasi Go To Top Of Page
This page was generated in 0.17 seconds. Snitz Forums 2000