Jump to content

Recommended Posts

Posted

I have a problematic program that only gets fixed if I delete the registry file it creates.

Is there a way to auto delete the reg file on boot up so that everytime the program

see's the empty registry it will simply recreate the registry file?

 

Please note, that I have success if I do it manually but it is a pain in the ars to do this every time.

Posted
Group Policy Preferences can do this with ease, or a simple batch file with reg delete keyname - that’s if the entry is in the registry itself. You say a registry file; do you mean key or is it something like a .dat?
Posted (edited)

I have never used any of the things you talk about but I'm not completely computer illiterate, so I could follow instructions if given.

Here is a screen shot of the file I would like to auto delete "Glasswire" and all it's contents.

Screenshot - 6_20_2019 , 2_53_59 PM.png

Screenshot - 6_20_2019 , 2_59_40 PM.png

Edited by Thehandyman1957
Posted

Odd why that would be causing an issue. As it looks like this is happening on your own personal computer given the look of the screenshots, you should be able to do that with the following method.

 

In the registry, go to

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

and create a new String with a Name of Cleanup Glassware, and Data of

REG DELETE HKEY_CURRENT_USER\Software\GlassWire

  • Thanks 1
Posted (edited)

Well that works, kinda. By that I mean, it does it, but it want's a confirmation upon boot up. Is there a way to make it just do it

automatically without any input from me? The reason I ask, is because Glasswire is also an auto boot up software and I would like

the registry clean up done before Glasswire starts. Or, perhaps have the registry clean up upon shut down so that when it boots it's already gone.

Screenshot - 6_20_2019 , 6_54_30 PM.png

Edited by Thehandyman1957
Posted (edited)

@DJ-1701 Would the following be worth doing so REG doesn't ask for confirmation? :)

 

In the registry, go to

 

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

 

and create a new String with a Name of Cleanup Glassware, and Data of

 

REG DELETE HKEY_CURRENT_USER\Software\GlassWire [color="#FF0000"]/F[/color]

 

If you want the registry key to be deleted during the next boot up only, use the 'RunOnce' key instead.

 

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

 

@Thehandyman1957. If you press Y does the registry key get deleted? If so, just add /F onto the REG DELETE command posted by DJ-1701.

Edited by Arthur
  • Thanks 2
Posted (edited)

Yes, if I hit the Y key, it does delete the selected registry key. I'm gonna try your recommendation right now.

Well that did the trick the first time but after that the program quit replacing it and thus crashed. I have sent

the information to the company and I hope they can figure it out. Thanks for all the help from you folks.:D

Edited by Thehandyman1957

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...