Delete the registry health value code with the batch process, the friend you need can refer to the following.
A basic format reference
reg DELETE KeyName [/v valuename |/ve |/va] [f]
KeyName [Machine]fullkey
Machine remote machine name-ignores the default value of the current machine.
There are only HKLM and HKU on the remote machine.
FullKey Rootkeysubkey
Rootkey [HKLM | HKCU | HKCR | HKU | HKCC]
Subkey The full name of the registry key under the selected ROOTKEY.
VALUENAME The name of the value to delete under the selected item.
When omitted, all subkeys and values under the item are deleted.
/ve deletes the value of a blank value name (default).
/va deletes all the values under the key.
/f Force delete without prompting.
For example:
REG DELETE hklmsoftwaremycomyapptimeout/f
Delete the registry key Timeout and all its subkeys and values, forcibly delete without asking
REG DELETE zodiachklmsoftwaremyco/v MTU
Remove the registry key MTU under MyCo on ZODIAC
********************************************************************************************
Delete entries in the registry
Windows Registry Editor Version 5.00
[-hkey_local_machine "SOFTWARE" Microsoft Windows "CurrentVersion" Run]
Save As reg file Double click to remove this item
Note that there is a "-" number
Delete values from the registry
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE "SOFTWARE" Microsoft Windows "CurrentVersion" Run]
"Soundman" =-
This allows you to delete this value
Start/disable of service
Type corresponding registry [HKEY_LOCAL_MACHINE ' SYSTEM ' CurrentControlSet ' Services]
Each of the following subkeys
The start key under the service name indicates the startup type
1 is the system
2 is automatic
3 is manual
4 is disabled
PS: You need to force the process to terminate when necessary
XP Pro can select the Taskkill command, which can be used at the command line via Taskkill/? View detailed Help
e.g. terminate Notepad: Taskkill/im notepad.exe/f
/F means mandatory termination
There is no Taskkill command under the home version, only the Tskill command, function will
e.g. terminate Notepad: Tskill notepad