I want to delete a registry key from HKEY_LOCAL_MACHINE on a Windows 7 PC when a standard user is logged on, what would be the best way of doing this?
The command below works when logged on as administrator.
Reg DELETE HKLM\SOFTWARE\Test\ /f
Thanks Sean