Keyname

Use the KEYNAME keyword within a category to define which subkey of HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE (depending on the CLASS keyword) contains the value you’re changing. Do not include a root key in the path because the CLASS keyword defines it. If the name contains spaces, you must enclose the string in double quotes. The example in the previous section, "Category," shows how to use the KEYNAME keyword.

Get Microsoft® Windows® Desktop Deployment Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.