How to allow a non-admin user to mount and unmount virtual drive

Anon R 20 Reputation points
2026-06-23T12:19:47.2866667+00:00

TLDR, as a solution to needing password protected and encrypted folders with a single shared local account, i have been trying out creating virtual drives encrypted and locked with bitlocker.

However the final step to this, is for a user (that does not have admin) to be able to either unmount drive (so that bitlocker locks it again) or mount drive after a restarting (again so bitlocker requires password again).

So my question is, is there a way to give a local user account permissions to mount and unmount a drive or make it so that mounting and unmounting drive no longer requires admin?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

Answer accepted by question author
Domic Vo 34,000 Reputation points Independent Advisor
2026-06-23T12:55:34.6933333+00:00

Hello Anon R,

To resolve this disk management limitation without granting the shared local account full administrative rights, you can utilize the Windows Task Scheduler to securely bridge the permission gap. By writing two brief PowerShell scripts utilizing the standard Mount-DiskImage and Dismount-DiskImage commands pointing to your virtual drive, an administrator can pre-configure these specific actions to run with the highest system privileges. You then create tasks within the Task Scheduler configured to execute these scripts using a dedicated administrative account.

Once the scheduled tasks are prepared, you can create standard shortcuts on the shared user's desktop pointing directly to the built-in Windows task execution utility located at C:\Windows\System32\schtasks.exe. By appending the run switch and the specific names of your scheduled tasks to this path, the shortcut instructs Windows to execute the underlying scripts in the background using the pre-approved elevated credentials without exposing the admin password to the user. The virtual drive will then mount natively, allowing the standard user to securely enter the BitLocker password through the normal Windows prompt to access the folder, while the dismount shortcut provides a simple method to safely lock the encrypted environment.

If this answer's useful, please consider hitting "accept answer" as it helps other people sharing the same issue. Thank you :)

DOmic

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.