Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Is it possible for batch file to disable devices?

Featured Replies

Hello Again!

Is it possible for a batch file to disable a device. For instance. I have an external hard drive that I keep my back up documents on. The problem with it is that the hard drive does not have an off/on switch so it is always connected. I want to disable it when not in use and I do not feel like unplugging it everytime I do not use it.

Thanks,

T


You could try mountvol or devcon, but neither will actually power down the device.

I have an external hard drive that I keep my back up documents on.

I wouldn't suggest relying solely on an external harddrive for means of backup. Especially if you're trying to unsafely turn it on and off like you're intending to.

The problem with it is that the hard drive does not have an off/on switch so it is always connected. I want to disable it when not in use and I do not feel like unplugging it everytime I do not use it.

There should be a "Safely Remove Hardware" icon in your system tray that will allow you to, obviously, safely turn it off. The next time you reboot your PC, it should appear again.

Good call - I just tried mountvol c: /d

and yikes, it let me :whistle:

  • 1 year later...
You could try mountvol or devcon, but neither will actually power down the device.

Hello, I find this observation very important. I am trying to disable a bluetooth device from a laptop, so the battery lasts longer and because my girlfriend does not like waves. ;-) Do you mean, that if I disable it, the device will still have power, but just not send bluetooth messages properly???

Hello, I find this observation very important. I am trying to disable a bluetooth device from a laptop, so the battery lasts longer and because my girlfriend does not like waves. ;-) Do you mean, that if I disable it, the device will still have power, but just not send bluetooth messages properly???

This whole topic focuses on temporarily powering down a device. What you would like to do is disable it. Disabling a device via Device Manager will stop the device from working until re-enabled, so it your case your bluetooth device will not use any power when disabled.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.