Skip to content

A service that resets USB devices based on their location info

License

Notifications You must be signed in to change notification settings

eyupalemdar/USBResetService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

USB Reset Service

A service that resets USB devices based on their location info.

Codes are based on python and powershell commands.

🛠️ Installation Steps:

1. Open CMD as admin and follow the steps below:

2. First you need to install the pywin32 package:

pip install pywin32

3. Run the command to install the service:

python usb_reset_service.py install                     # Install the service and set "Startup Type: Manuel"

or

python usb_reset_service.py install --startup auto      # Install the service and set "Startup Type: Automatic"

4. To start the service:

python usb_reset_service.py start

5. To stop the service:

python usb_reset_service.py stop

6. To remove the service:

python usb_reset_service.py remove                       # The process may take some time to complete.

or

sc delete usbresetservice                                # Service name 'usbresetservice' is defined in the 'usb_reset_service.py'

💻 Built with

Technologies used in the project:

  • Python
  • Powershell

About

A service that resets USB devices based on their location info

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages