- Folder suggestions in Windows 10
- Get folder suggestions
- Remove folders from a library
- Redirect and move Windows known folders to OneDrive
- Prepare to move known folders on existing devices
- About the Known Folder Move policies
- Transition from the Windows Folder Redirection Group Policy objects
- Known Folders Class
- Definition
- Windows 10 requirements
- Examples
- Remarks
- Prerequisites
- Return value
- More info
- Version history
- Properties
- Methods
- Known Folders Operational Log warning messages Event ID 1000 Event ID 1002
Folder suggestions in Windows 10
The storage libraries (such as Pictures, Music, and Videos) in Windows provide access to folders created to store different types of files. Many apps only have access to the media files found in these storage libraries; they don’t have access to files saved in other locations like local drives.
Get folder suggestions
Folder suggestions scans your device to identify folders containing content that could be worth adding to one or more of the storage libraries. It only scans the areas found in your Windows account profile (like folders on your Desktop), or ‘public’ areas of your device (areas outside of account profiles and other local drives). It won’t scan any documents, account profiles other than your own, or certain locations including storage libraries and most root folders.
Folder suggestions will show you a list of folders it finds, along with a sampling of thumbnail images to help you understand the content stored inside. Then, you can select which (if any) of the folders you want to add to your storage libraries.
Note: As long as you’re using separate Windows account profiles, the files stored in your profile won’t be included in the list of folders available to other people who use your PC.
Remove folders from a library
You can remove folders from libraries in File Explorer, or from the settings of some apps that access storage libraries (such as the Photos app, which accesses the Pictures library).
In File Explorer, select View > Navigation pane, and then make sure Navigation pane and Show libraries are selected. In the left pane of File Explorer, browse to Libraries to find the library you want to remove a folder from. Under Library Tools, select Manage > Manage library, select a folder to remove, then select Remove > OK.
In the Photos app, select See more > Settings, and then under Sources select the Close button next to a folder you want the app to stop accessing.
Note: Removing a folder from a library doesn’t delete it—it just won’t appear in the library anymore.
Redirect and move Windows known folders to OneDrive
This article is for IT admins managing the OneDrive sync app.
There are two primary advantages of moving or redirecting Windows known folders (Desktop, Documents, Pictures, Screenshots, and Camera Roll) to Microsoft OneDrive for the users in your domain:
Your users can continue using the folders they’re familiar with. They don’t have to change their daily work habits to save files to OneDrive.
Saving files to OneDrive backs up your users’ data in the cloud and gives them access to their files from any device.
For these reasons, we recommend moving or redirecting known folders to OneDrive if you’re an enterprise or large organization. See all our recommendations for configuring the sync app. Small or medium businesses may also find this useful, but keep in mind you’ll need some experience configuring policies. For info about the end-user experience, see Protect your files by saving them to OneDrive.
Prepare to move known folders on existing devices
We recommend that you upgrade to the latest available build before you deploy to decrease deployment issues. Known Folder Move doesn’t work for users syncing OneDrive files in SharePoint Server.
To check eligibility on existing devices, data volume, and item counts as you decide on a rollout plan, and to later monitor progress of the rollout, use the Known Folder Move PowerShell script.
If your organization is large and your users have a lot of files in their known folders, make sure you roll out the configuration slowly to minimize the network impact of uploading files. For users who have a lot of files in their known folders, consider using the policy Limit the sync app upload rate to a percentage of throughput temporarily to minimize the network impact and then disable the policy once uploads are complete.
About the Known Folder Move policies
OneDrive policies can be set using Group Policy, Intune Windows 10 Administrative Templates, or by configuring registry settings. For a full reference of available policies and their registry settings, see Use OneDrive policies to control sync settings.
The following policies control the Known Folder Move feature:
Use this setting to give the users a call to action to move their Windows known folders.
If users dismiss the prompt, a reminder notification will appear in the activity center until they move all known folders or an error occurs with the move, in which case the reminder notification will be dismissed.
If a user has already redirected their known folders to a different OneDrive account, they’ll be prompted to direct the folders to the account for your organization (leaving existing files behind).
We recommend deploying the prompt policy for existing devices only, and limiting the deployment to 5,000 devices a day and not exceeding 20,000 devices a week.
Use this setting to redirect and move known folders to OneDrive without any user interaction. Move all the folders or select the desired individual folders. After a folder is moved, the policy will not affect the folder again, even if the selection for the folder changes.
You can choose to display a notification to users after their folders have been redirected.
A number of errors can prevent this setting from taking effect, such as:
- A file exceeds the maximum path length
- The known folders aren’t in the default locations
- Folder protection is unavailable
- Known folders are prohibited from being redirected
We recommend deploying the silent policy for existing devices and new devices while limiting the deployment of existing devices to 1,000 devices a day and not exceeding 4,000 devices a week. We also recommend using this setting together with «Prompt users to move Windows known folders to OneDrive.» If moving the known folders silently does not succeed, users will be prompted to correct the error and continue.
Use this setting to force users to keep their known folders directed to OneDrive.
Users can direct their known folders by opening OneDrive sync app settings, clicking the Backup tab, and then clicking Manage backup.
Transition from the Windows Folder Redirection Group Policy objects
The OneDrive Known Folder Move Group Policy objects won’t work if you previously used Windows Folder Redirection Group Policy objects to redirect the Documents, Pictures, or Desktop folders to a location other than OneDrive. The OneDrive Group Policy objects won’t affect the Music and Videos folders, so you can keep them redirected with the Windows Group Policy objects. Follow these steps to switch to using the Known Folder Move Group Policy objects.
If folders have been redirected to OneDrive using Windows Folder Redirection Group Policy:
- Disable the Window Folder Redirection Group Policy and make sure to leave the folder and contents on OneDrive.
- Enable KFM Group Policy. Known folders remain in OneDrive.
If folders have been redirected to a location on a local PC:
- Disable the Window Folder Redirection Group Policy and make sure to leave the folder and contents at the redirected location.
- Enable KFM Group Policy. Known folders move to OneDrive.
If folders have been redirected to a network file share:
We recommend using Windows 10 Fall Creators Update (version 1709 or later) or Windows Server 2019 and the current version of OneDrive to get the benefits from Files On-Demand.
Known Folders Class
Definition
Provides access to common locations that contain user content. This includes content from a user’s local libraries (such as Documents, Pictures, Music, and Videos), HomeGroup, removable devices, and media server devices.
Windows 10 requirements
Examples
The File access sample shows you how to use the PicturesLibrary property to create a new file in the Pictures library.
After the CreateFileAsync method completes, the file variable contains a StorageFile that represents the new file.
Remarks
This class is static and cannot be instantiated. Access its properties directly, as shown in the following example.
- StorageFolder storageFolder = KnownFolders.PicturesLibrary;
Prerequisites
To access the folders and libraries represented by the properties of this class, specify the corresponding capabilities in your app manifest. For example, to access KnownFolders.PicturesLibrary, specify the Pictures Library capability in the app manifest. Learn more about capabilities in App capability declarations.
Return value
The properties of the KnownFolders class return a StorageFolder. To work with the known folder and its contents, call the methods and properties of the StorageFolder class.
- For info about how to use pictures, music, and videos in your app, see Audio, video, and camera.
- For general info about how to use files and folders, see Enumerate and query files and folders.
More info
Here’s how to access some other commonly used locations.
To learn more about the locations that your app can access, see File access permissions.
Version history
Windows version | SDK version | Value added |
---|---|---|
1511 | 10586 | GetFolderForUserAsync |
2004 | 19041 | GetFolderAsync |
2004 | 19041 | RequestAccessAsync |
2004 | 19041 | RequestAccessForUserAsync |
Properties
Gets the App Captures folder.
Gets the Camera Roll folder.
Gets the Documents library. The Documents library is not intended for general use.
Gets the HomeGroup folder.
Gets the folder of media server (Digital Living Network Alliance (DLNA)) devices.
Gets the Music library.
Gets the Objects 3D folder.
Gets the Pictures library.
Gets the play lists folder.
Gets the recorded calls folder.
Gets the removable devices folder.
Gets the Saved Pictures folder.
Gets the Videos library.
Methods
Retrieves the folder for the folderId specified.
Static method that returns a specified known folder for a User.
Requests access for the capability controlling access to the folder.
Known Folders Operational Log warning messages Event ID 1000 Event ID 1002
What do these events mean? What action should be taken?
Below is a brief copy of Event ID 1000’s and Event ID 1002’s occurring in known Folders Operational log. The warning messages are not flagged in the Summary of Administrative Events in Event Viewer, I had to delve deep into Applications and Services Logs, in order to locate the records. Mow that I have found them, what should I do, in response?
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:39:21
Event ID: 1002
Task Category: None
Level: Warning
Description:
Error 0x80070002 occurred while verifying known folder
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:39:21
Event ID: 1002
Task Category: None
Level: Warning
Description:
Error 0x80070002 occurred while verifying known folder
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:39:21
Event ID: 1002
Task Category: None
Level: Warning
Description:
Error 0x80070002 occurred while verifying known folder <625b53c3-ab48-4ec1-ba1f-a1ef4146fc19>with path ‘C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu’.
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Description:
Error 0x80070002 occurred while verifying known folder
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070002 occurred while verifying known folder <625b53c3-ab48-4ec1-ba1f-a1ef4146fc19>with path ‘C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu’.
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070002 occurred while verifying known folder <8983036c-27c0-404b-8f08-102d10dcfd74>with path ‘C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\SendTo’.
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070002 occurred while verifying known folder <2a00375e-224c-49de-b8d1-440df7ef3ddc>with path ‘C:\Windows\resources\0409’.
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070002 occurred while verifying known folder
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070003 occurred while verifying known folder
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070002 occurred while verifying known folder <9274bd8d-cfd1-41c3-b35e-b13f55a758f4>with path ‘C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Printer Shortcuts’.
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070002 occurred while verifying known folder
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070002 occurred while verifying known folder
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070003 occurred while verifying known folder
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:36:09
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070003 occurred while verifying known folder <724ef170-a42d-4fef-9f26-b60e846fba4f>with path ‘C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools’.
===
Log Name: Microsoft-Windows-Known Folders API Service
Source: Microsoft-Windows-KnownFolders
Date: 31/08/2015 09:32:49
Event ID: 1002
Task Category: None
Level: Warning
Keywords:
User: SYSTEM
Computer: Turundmitt
Description:
Error 0x80070002 occurred while verifying known folder
Event Xml:
1002
0
3
0
0
0x8000000000000000
116829
Microsoft-Windows-Known Folders API Service
Turundmitt
0x80070002
C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Templates