Remove-Item -Path " HKCU:\Software\DeleteTestKey\*" -Recurse READ ALSO - How to Edit registry using (CMD) | Switches | Operations description Get-Item -Path 'HKCU:\Software\DeleteTestKey' -Recurseīelow is the PowerShell default command to delete registry value entry “DeleteValue” of type “DWORD (32-bit)” on the path “HKEY_CURRENT_USER\Software\DeleteTestKey\” To run it: How to Delete Registry key and value with PowerShell:īelow is the PowerShell default command to delete registry key “DeleteTestKey” on path “HKEY_CURRENT_USER\Software\” – To run it: If no entry is specified, then all entries and subkeys under the subkey will be deleted. /v – Deletes a specific entry under the subkey.RegValue – Name of the value that should be added.Regkey – Path where the new value should be added.Reg delete “HKEY_CURRENT_USER\Software\deleteTestKey” /fīelow is the default command to delete registry value entry “DeleteTestValue” of type “DWORD (32-bit)” on path “HKEY_CURRENT_USER\Software\DeleteTestKey:Ĭustomized: reg delete HKEY_CURRENT_USER\Software\DeleteTestKey\ /v DeleteTestValue /fĭefault Command: Reg Delete Regkey /v RegValue /f How to delete registry key and value with CMD:īelow is the default commands line to delete registry key and “ deleteTestKey” on path “ HKEY_CURRENT_USER\Software\” – To run it:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |