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?

0 Comments   [ + ] Show comments

Answers (2)

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

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


Posted by: TimHR 1 month ago
Blue Belt

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


Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


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