📎 AI Summary:
The discussion centers on how to set up a scheduled task to remotely disconnect or make a Samsung T7 external drive inaccessible, ideally requiring physical replugging to regain access, to prevent malicious code from re-enabling or remounting it. The original poster seeks a way to force the drive offline and ensure it remains locked until manually reconnected, but contributors indicate that the device is always discoverable and re-mountable programmatically. One suggestion involves encrypting the drive with Bitlocker, which could provide the desired security behavior, while another suggests uninstalling the device driver as a simple workaround. Overall, the thread highlights the difficulty in fully controlling external drive access solely via software measures.

MS54321

Well-Known Member
Joined
Jun 13, 2023
Messages
2
Thread Author #1
I have a Samsung T7 with Samsung’s encrypted password option enabled. I want a daily scheduled task that will take the drive offline and the only way to access it again is to unplug and replug it - alternatively put it in such a state that even if something malicious was to run code on my pc to re-enable it it wouldn’t get past the password prompt.



Manually I tried ejecting it via safely eject hardware (to see if this was a possible option to schedule via a batch file or similar) and then I disabled/enabled in device manager (as malicious code might do) but this brings it back online unlocked (ie it remembers status of password already being entered) so this doesn’t seem like an option



End result needs to be a scheduled task to remove the drive as if it’s been unplugged and if any malicious code were to bring it back online somehow then it would be relocked with Samsung password prompt.
 

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
You can't. The device will always be discoverable and re mountable programmatically.
 

MS54321

Well-Known Member
Joined
Jun 13, 2023
Messages
2
Thread Author #3
You can't. The device will always be discoverable and re mountable programmatically.
right, but remountable with the samsung password prompt re-enabled somehow? If there's no way to stop it being re-opened programmatically can it at least reprompt for the password?
 

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
Not unless you encrypt it with something like Bitlocker2Go, then it would be possible
 

Solution
Joined
Jul 20, 2023
Messages
3
Easy just uninstall the driver, f*ck the BT.

Control Panel\Hardware and Sound ->Device Manager

Don't forget to go to view: Show hidden devices.