Home> Common Problem> body text

How to use OneDrive files on demand in Windows 11

WBOY
Release: 2023-04-14 12:34:17
forward
2379 people have browsed it

The OneDrive app on Windows systems allows you to store files on the cloud up to 5 GB. There is another feature in the OneDrive app that allows users to choose an option whether to keep files on system space or make them available online without taking up your system storage. This feature is called Files on Demand. In this article, we explore this feature further and explain the various options on how to make files available on demand in OneDrive on your Windows 11 PC.

How to use OneDrive folders to use OneDrive files on demand in Windows 11

Step 1: Go to thetaskbarrightmost corner and clickOneDriveapplication icon once.

Step 2: Then, select theOpen Folder option at the bottom of the OneDrive app as shown below.

How to use OneDrive files on demand in Windows 11

# Step 3: In the OneDrive folder, the files with a status ofin a green circle with a green check mark are actuallyLocally Available. This means that the file is available locally and you don't need to download the file to use it.

How to use OneDrive files on demand in Windows 11

Step 4: Right-click the file and select

Always keep on this devicefrom the context menu as shown below.

How to use OneDrive files on demand in Windows 11

Step 5: This will show the file as

Always Available(green circle with white check mark) on your device, this will take up storage space on your hard drive as shown below.

NOTE: This means you can also access this file on your system while offline.

How to use OneDrive files on demand in Windows 11

Step 6: Right-click the file again and click

Free Spacefrom the context menu as shown below.

How to use OneDrive files on demand in Windows 11

Step 7: After freeing the file from your space, you can see a cloud symbol below the status, which means the file has been cleared from your device , now available online.

Note:You will now need to access this file online. This means you need to download the file before you can access it.

How to use OneDrive files on demand in Windows 11

Step 8: Close the OneDrive app folder.

That’s all.

How to use PowerShell to work with files from OneDrive on demand in Windows 11

Step 1: Press the

Windows Rkeys simultaneously on your keyboard to openRunDialog box.

Step 2: Then, type

powershell in the run box and press theEnterkey to open thePowerShellapplication.

How to use OneDrive files on demand in Windows 11

Step 3: To check the status of files on OneDrive, copy and paste the given command below and press

Enterkey.

Note: Please replaceC:\Users\%username%\OneDrive\You Dont Know JS – Types & Grammar.pdfwith yourfile path.

attrib "C:\Users\%username%\OneDrive\You Dont Know JS - Types & Grammar.pdf"
Copy after login

Step 4: Here you can see if

Uis shown in the output, it means that the file isOnline Only.

How to use OneDrive files on demand in Windows 11

Step 5: If

Pis written in the output, it means that the file isalways available on your device.

How to use OneDrive files on demand in Windows 11

Step 6: If the output

does notwrite anything, it means the file isavailable locally.

How to use OneDrive files on demand in Windows 11Step 7: Now to change the file status, execute the following explained command as shown below.

Note

: Please replaceC:\Users\%username%\OneDrive\You Dont Know JS – Types & Grammar.pdfwith yourfile path.To set the file status to online only:

attrib +u "C:\Users\ %username% \OneDrive\You Dont Know JS - Types & Grammar.pdf"
Copy after login

To make the file status always available:

attrib +p "C:\Users\ %username% \OneDrive\You Dont Know JS - Types & Grammar.pdf"
Copy after login

To set the file status to locally available:

attrib -p "C:\Users\ %username% \OneDrive\You Dont Know JS - Types & Grammar.pdf"
Copy after login

Step 8: The output shown below is used to change the status of the file to

Online Only

. You can execute the other commands above to change the status of the file to whatever you want.

Step 9: Close the PowerShell application after viewing and setting the file status.

This is how you can view and change the status of files in your OneDrive folder using the PowerShell application on your system.

The above is the detailed content of How to use OneDrive files on demand in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!