Jump to content
The mkiv Supra Owners Club

Another PC question


Digsy

Recommended Posts

I have a bit of software which is on *ahem* "permanent trial".

 

Keeping it in this state means that every so often I have to make a small tweak to the registry, which is a bit fiddly. There is a key under HKEY_CLASSES_ROOT that needs deleting if it is present.

 

I was wondering if there was a way to write a simple script file which made the change every time Windows starts up or shuts down, to save me having to?

 

I already have a backup script run on shutdown, so I know how to tell Windows to schedule it. I just don't know the script syntax for changing the registry.

Link to comment
Share on other sites

Can you not export the registry settings and then add the export file to your 'start up'..?

 

I think you'll have to click 'OK' when it updates the reg, but probs better than manually doing it?

 

My simplistic solution anyway... I'm sure some of the JustGav/Carl0s style boffins will be along in a minute :D

Link to comment
Share on other sites

Cheers guys. I actually got off my backside and did a Google search. Its actually a load easier than I thought it would be.

 

The command is:

 

reg delete hkcr\

 

To make it run silently, this becomes:

 

@echo y| reg delete hkcr\

 

I have added it the the shutdown scripts under group policies. Job done! :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. You might also be interested in our Guidelines, Privacy Policy and Terms of Use.