Careful if cutting and pasting from the web, your double quotes may not be
"real" double quotes. This is one of mine. Notice the difference between
the double quotes from mine compared to what you included in your mail
message.
CLASS MACHINE
CATEGORY "System"
CATEGORY "DLL Search Behavior"
EXPLAIN "LoadLibrary and LoadLibraryEx search path behavior."
POLICY "Global Search Path Behavior"
KEYNAME "SYSTEM\CurrentControlSet\Control\Session Manager"
EXPLAIN "Global LoadLibrary and LoadLibraryEx search path behavior."
SUPPORTED "MSKB2264107 must be installed."
PART "Search Policy" DROPDOWNLIST
VALUENAME CWDIllegalInDllSearch
ITEMLIST
NAME "Legacy Behavior" VALUE NUMERIC 0 DEFAULT
NAME "Block WebDAV CWDs" VALUE NUMERIC 1
NAME "Block WebDAV and UNC CWDs" VALUE NUMERIC 2
NAME "No CWDs allowed" VALUE NUMERIC 4294967295
END ITEMLIST
END PART
END POLICY
END CATEGORY
END CATEGORY
Carl
From: David Lum [mailto:[email protected]]
Sent: Friday, November 11, 2011 9:59 AM
To: NT System Admin Issues
Subject: Creating an .ADM file
Found an awesome article on rolling your own .ADM file
http://www.frickelsoft.net/blog/downloads/howto_admTemplates.pdf
However, I cannot figure out how to properly quote the "KEYNAME" field, and
all the examples I find don't have a space in it
KEYNAME "SOFTWARE\JavaSoft\Java Update\Policy"
When I try and import this I get an "unexpected keyword'
Found: Update\policy
Expected; KEYNAME, CATEGORY, POLICY, END, EXPLAIN
David Lum
Systems Engineer // NWEATM
Office 503.548.5229 // Cell (voice/text) 503.267.9764
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin