If you link your OneDrive account to your PC or a laptop, it stores the local copies of the files in a folder on the hard drive of your PC. The default location of such a folder is:
where [User] is your Windows login name. This way, if you are traveling and not connected to the Internet, you could still work with the local copies of your files, and later on, when you do connect to the Internet, they would be synchronized with the cloud.
This is convenient, but what if you lose your laptop, or someone steals it? They would be able to reset your Windows password and get an unrestricted access to all your files on the laptop, including the ones in the OneDrive folder.
If you are concerned about such a possibility (and you should be!), to protect your files and documents from other people, you should move them to encrypted storage, such as a Virtual Encrypted Drive that you could set up with our software Encryptability or USBCrypt. The Virtual Encrypted Drive works in the same way as a regular drive, but the files you put in it become strongly encrypted. The Virtual Encrypted Drive has its own drive letter and to encrypt the files you need to move them to that drive.
Moving the regular files and folders into an encrypted drive is easy: you could just drag and drop them with Explorer. However, moving the special folders, such as OneDrive is a bit tricky. We demonstrate how to do it below.
Before we begin, we assume that you have already used USBCrypt or Encryptability to create a Virtual Encrypted Disk and you have started it with the drive letter Q:. (Of course, if you chose another letter to attach to the Virtual Encrypted Disk, modify the following steps accordingly.)
If you have not linked the PC to your OneDrive account yet, skip the first steps and go directly to Step 3. Otherwise, before you could move the existing OneDrive folder to an encrypted drive, you must unlink the PC from the OneDrive account first. (If you skip unlinking the folder, Windows would not let you move it.)
Step 1. Unlink the PC from the OneDrive account.
Locate the OneDrive taskbar notification icon, right-click it, and choose Settings from the menu:
There, select the Account tab, and click on Unlink this PC:
Confirm that you do want to unlink the PC (don't worry, we will link it back in a short while). Now we are ready to move the OneDrive folder to the encrypted drive.
Step 2. Move the OneDrive folder.
Open Explorer (or another file management application, if you have one, such as our AB Commander) and navigate to the parent folder of the current OneDrive folder. As we mentioned above, usually it is C:\Users\[User]\OneDrive, where [User] is your Windows login name. So, open the parent folder, C:\Users\[User], and select OneDrive:
While OneDrive folder is still selected, click on Home in the menu bar, and then click on Move To:
Select Choose location and then select the parent folder where you want the OneDrive folder to be located. In our example, we want to move it to an encrypted drive Q:, so we would select the drive Q: as the destination folder:
Step 3. Link the PC to the new location of the OneDrive folder.
Now open the Settings window for OneDrive again (see Step 1 above), but this time click on Add an account, to link this PC back to your OneDrive account. Enter your OneDrive email, password, but before you press Next to set up OneDrive at the default location, click the Change location link:
Now navigate to the encrypted drive (which is drive Q: in our example), and select the OneDrive folder there:
You will probably see the message telling you that the folder already contains some files in it, that's expected, tell it to use this location:
Finish the linking of the PC by selecting the folders of your OneDrive account that you want to be synchronized to this PC, and that's it, your OneDrive folder is now encrypted and ready for use!
The last but not least: keep in mind that moving the OneDrive folder to a Virtual Encrypted Disk protects only that specific OneDrive folder stored on your computer. If you share your OneDrive files with other devices of yours, then the copies stored on other devices would NOT be protected, and each device must set up the protection of their copies of the OneDrive folder separately, according to the methods available on each device.
- Forget VeraCrypt password? Here is how to recover it.
- Why do my desktop icons keep moving?
- How to create a private folder in Windows 11 and 10
- How to restrict access to Windows Settings with Folder Guard
- Suspending all sales to fascist Russia
- How to keep desktop icons from moving by running Icon Shepherd from command line
- How to restrict access to Task Manager with Folder Guard
- Take ownership of your files after access denied due to NTFS permissions
- How to reprogram or disable CAPS LOCK key
- Encryptability vs Folder Guard: which one to choose?
- Troubleshooting software removal problems using MSI files
- Encryptability: Compare Personal and Business Licenses
- Solved: How to add Group Policy and Local Security Policy to Windows 11 and 10 Home edition
- File too large for USB drive? Here is how to fix it.
- Forget your WI-FI password? Find it in Windows 11 and 10 settings
- What is FAT32 maximum file size limit?
- How to create a secret folder in Windows 11 and 10
- How to easily password-protect Windows Linux folders with Folder Guard
- How to reset the root password after upgrading MariaDB
- How to upgrade MySQL or MariaDB properly
- Force DISKPART to delete EFI system partition in Windows 11 and 10
- How to make Windows 11 and 10 recognize a cloned hard drive again
- How to stop Windows 11 and 10 from using thumbnail preview icons for folders
- How to hide pictures from the Photos app in Windows 11 and 10
- How to save Windows 10 Spotlight photos to your computer
- How to move the OneDrive folder to an encrypted drive
- Windows 10 fails to upgrade? Here is how to fix it.
- How to stop Microsoft Edge from hijacking PDF files
- Preventing installations of specific programs with Folder Guard
- Folder Guard licensing explained
- Speed up the updates of the network folders
- Make your Windows laptop work as a Wi-Fi access point
- How to stop auto update in Windows 10 and 11
- Solved: Windows cannot connect to the printer. Access is denied.
- Migrating encrypted data from TrueCrypt to USBCrypt
- Enhancing a photo CD collection with PhotoLauncher
- “The Microsoft account service is unavailable right now. Try again later.”
- Using DiffMerge as the external tool of AB Commander to compare plain text files
- How to repair the icon cache and/or thumbnail cache in Windows 11 and 10
- Transferring images between your PC and an Android device: Part 2
- Transferring images between your PC and an Android device: Part 1
- Case study: Using SoftDetective to suppress Corel Guide sign-in prompt
- Using junction points to change the iTunes backup folder location
- How to tell if my Windows is 32- or 64-bit?
- How do I stop Windows from rearranging my desktop icons?
- Organize your photo library with the Rename tool of AB Commander
- Windows does not offer the NTFS format option? Here is how to bring it back.
- How to encrypt Firefox profile, bookmarks, and cookies
- Restarting Windows 11, 10, and Windows 8 in the safe mode
- Integrating AB Commander with Universal Viewer
- How to delete a protected EFI system partition with Windows 11,10, 8, or 7
- Using Folder Guard to protect from the social engineering attacks
- How to erase Windows login password if you forget it
- How to unhide a folder hidden with Folder Guard
- How to repair Windows desktop icons with AB Commander
- Slow network in Windows 7 Virtual PC? Speed it up!
- How to show drive letters first in AB Commander and Windows Explorer
- What is my IP address?
- Why can’t I copy large files over 4GB to my USB flash drive or SD card?
- Test the strength of your password with USBCrypt
- How to set up an external text editor for AB Commander
- How to restrict Internet Explorer from downloading programs from the Internet
- Personal vs business license for USBCrypt
- Use Folder Guard to restrict access to Control Panel
- Compare MySecretFolder and Folder Guard
- Hide folders and make files invisible with Folder Guard
- WINEXIT vs ActiveExit: automatically log off users from Windows
- Password protect folders, lock files and folders with passwords
- How to restrict access and lock external drives with Folder Guard
- How to password-protect Dropbox folder with USBCrypt
- How to set up Folder Guard to stop downloading from the Internet
- Is [Wipe the content] the same as [Secure Delete]?
- How to encrypt and protect the system C: drive with USBCrypt
- Make it easier to return your lost encrypted drive
- USBCrypt for users of Microsoft® Office
- How to start programs elevated from a batch file
- How to make elevated programs recognize network drives
- How to disable hibernation with AB Commander
- Using names and labels to organize USBCrypt drives
- How to password-protect a USB flash drive
- Always have a backup of your important files