Removing Registry Key Via SMS
Removing Registry Key Via SMS
(OP)
Hello Everyone,
I have been pushing out program installs and removals through SMS for about 6 months now and am quite confident in that aspect BUT am not too sure how to delete a registry key through SMS. I've created a .reg file and also a batch file and pushed both out to a test PC, I see that the file has been sent but do not see any successes or failures.
Is there a better way to push a registry deletion through SMS?
Here is a sample of the script I wrote (not sure if it even works)
Windows Registry Editor Version 5.1
[HKEY_LOCAL_MACHINE\Software\Network Associates\Epolicy Orchestrator\Agent\AgentGUID]
"AgentGUID"=-
I tried pushing this out as a batch and a reg file but nothing seems to happen.
Thanks
Mike
I have been pushing out program installs and removals through SMS for about 6 months now and am quite confident in that aspect BUT am not too sure how to delete a registry key through SMS. I've created a .reg file and also a batch file and pushed both out to a test PC, I see that the file has been sent but do not see any successes or failures.
Is there a better way to push a registry deletion through SMS?
Here is a sample of the script I wrote (not sure if it even works)
Windows Registry Editor Version 5.1
[HKEY_LOCAL_MACHINE\Software\Network Associates\Epolicy Orchestrator\Agent\AgentGUID]
"AgentGUID"=-
I tried pushing this out as a batch and a reg file but nothing seems to happen.
Thanks
Mike
RE: Removing Registry Key Via SMS
REG DELETE "HKLM\SOFTWARE\Network Associates\Epolicy Orchestrator\Agent\AgentGUID\AgentGUID=youranswer" /f
from a batch file instead.
SimonD.
The real world is not about exam scores, it's about ability.
RE: Removing Registry Key Via SMS
Mike
RE: Removing Registry Key Via SMS
I was having a bit of a blonde moment.
SimonD.
The real world is not about exam scores, it's about ability.
RE: Removing Registry Key Via SMS
Cheers
RE: Removing Registry Key Via SMS
REG DELETE "HKLM\SOFTWARE\Network Associates\Epolicy Orchestrator\Agent\AgentGUID" /f
SMS returned an error message with a status of 1 notifying me that the program failed.
Thanks
RE: Removing Registry Key Via SMS
SimonD.
The real world is not about exam scores, it's about ability.
RE: Removing Registry Key Via SMS
I've modified the batch file.
REG DELETE "HKLM\SOFTWARE\Network Associates\Epolicy Orchestrator\Agent\AgentGUID=1" /f
RE: Removing Registry Key Via SMS
SimonD.
The real world is not about exam scores, it's about ability.