SmallTownTech

Commandline Scanner - Uninstall Cleanly Without Restart

Recommended Posts

My goal is this: to find a way to uninstall/delete the commandline scanner files. However, I have run into some issues. It doesn't happen 100% of the time, but fairly often. I am able to delete all the files with the exception of epp.sys. While I didn't run it as a service, it appears a driver is still used in any case. 

It is this driver which is left behind when deleting files. My question is this: how can I remove this driver? Can it be done without restarting? It seems running

sc stop epp

sc delete epp

remove the service, but the file remains locked until after a restart.

I am trying to automate things related to the scanner, and a required restart makes it much more difficult.

Share this post


Link to post
Share on other sites
8 hours ago, SmallTownTech said:

how can I remove this driver? Can it be done without restarting?

If the driver is running, it cannot be stopped until the computer is shut down. I'd recommend scheduling removal on restart, and then just let the system reboot whenever it is convenient.

If you'd like to see an example of a batch file that can accomplish this, then here's a link to one:
https://www.gt500.org/emsisoft/restart_and_delete_debug_logs.zip

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.