/build/static/layout/Breadcrumb_cap_w.png

Help deleting one registry key using a script?

I want to delete a registry key and in the command prompt (run as admin) I can type:  REG DELETE HKCR\ms-msdt /f and it will delete the key.  How do I create a script in my K1000 to do this?
Thanks,
Kristen.


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: EJay1 1 year ago
White Belt
1

Top Answer

Just test it myself


Download or recreate this reg file in notepad (Unregister ms-msdt to protect against recent Office 0day · GitHub)


In Kace, create a new script 

Upload the reg file as a dependency and copy the settings in the screenshot


W7k5jZ4q2zAAAAABJRU5ErkJggg== 

Posted by: TimHR 1 year ago
Second Degree Blue Belt
1

Or you could use  Configuration Policies "Windows Registry"  to run your command.


AAAAAElFTkSuQmCC

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ