To delete only the registry entries that have no value inside the subkey named MySubkey, use the following example: REG DELETE HKLM\Software\MySubkey /ve To delete the registry entry named AppInfo within the MySubkey subkey, use the following example: REG DELETE HKLM\Software\MySubkey /v AppInfo /f To delete the subkey named MySubkey on a remote computer, use the following example: REG DELETE \\ComputerName\HKLM\Software\MySubkey /f To add a subkey named MySubkey under HKEY_LOCAL_MACHINE\Software, use the following example: REG ADD HKLM\Software\MySubkey /d Data: Specifies the data for the new entry in the registry.The default separator is \0 if it is not specified. /s Separator: Defines the character you use to separate multiple instances of data when the REG_MULTI_SZ data type is specified and you need to add more than one entry./f: Adds or deletes registry content without prompting for confirmation./t Type: Specifies the type of registry entries. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |