# OneDrive: Prompt to sync personal OneDrive

#### You may have seen Microsoft's roadmap in which users will receive a prompt to sync their personal OneDrive files  <https://www.microsoft.com/en-us/microsoft-365/roadmap?searchterms=490064> <a href="#hide-the-messages-to-sync-consumer-onedrive-files" id="hide-the-messages-to-sync-consumer-onedrive-files"></a>

<figure><img src="/files/GVnSwtyHx6Io6kQDq6HM" alt=""><figcaption></figcaption></figure>

Microsoft's roadmap includes a prompt for users to sync their personal OneDrive files. To prevent users from syncing personal OneDrive accounts, you can enable a setting that blocks users from signing in with a Microsoft account to sync their personal OneDrive files. If you prefer to allow syncing but want to avoid prompts that might confuse users, you can hide messages encouraging users to sync Consumer OneDrive files.

#### The general advice is to Prevent users from syncing personal OneDrive accounts <https://learn.microsoft.com/en-us/sharepoint/use-group-policy#prevent-users-from-syncing-personal-onedrive-accounts> <a href="#hide-the-messages-to-sync-consumer-onedrive-files" id="hide-the-messages-to-sync-consumer-onedrive-files"></a>

This setting lets you block users from signing in with a Microsoft account to sync their personal OneDrive files. By default, users are allowed to sync personal OneDrive accounts.

If you enable this setting, users are prevented from setting up a sync relationship for their personal OneDrive account. Users who are already syncing their personal OneDrive when you enable this setting can't continue syncing (they receive a message that syncing has stopped), but any files synced to the computer remain on the computer.

Enabling this policy sets the following registry key value to 1:

`[HKCU\SOFTWARE\Policies\Microsoft\OneDrive]"DisablePersonalSync"=dword:00000001`

## This settings is available in Intune policy via Settings Catalog

<figure><img src="/files/cjKZZzl3GqIPU9Lyp7Fz" alt=""><figcaption></figcaption></figure>

## However, you may be happy with the ability to sync personal OneDrive but you don't want the prompt to encourage or confuse the end user.

#### Hide the messages to sync Consumer OneDrive files <https://learn.microsoft.com/en-us/sharepoint/use-group-policy#hide-the-messages-to-sync-consumer-onedrive-files> <a href="#hide-the-messages-to-sync-consumer-onedrive-files" id="hide-the-messages-to-sync-consumer-onedrive-files"></a>

This setting determines whether a user will be prompted to sync their Consumer files when a Microsoft Account (MSA) is detected on the device.

If you enable this setting, users will not be prompted to sign in with their MSA and sync their Consumer files. Users can still manually configure their Consumer accounts to sync their OneDrive Consumer files. Enabling this policy sets the following registry key value to 1:

`[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"DisableNewAccountDetection"=dword:00000001`

If you disable this setting or do not configure it, users will be prompted to sign in with their MSA and sync their Consumer files.

This setting for what ever reason is not in the Intune Setting Catalog and is only available in the ADMX file  (at time of writing the blog) . You have to import the ADMX into Intune and then create a `Imported Administrative templates (Preview)`  profile.

&#x20;You will find the ADMX and ADML file here on a Windows 11 client to import: `%ProgramFiles%\Microsoft OneDrive\BuildNumber\adm\`

<figure><img src="/files/1BXzmnTpszu0Y48r31ZX" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/mR99RY0mLAwEALrzQIvZ" alt=""><figcaption></figcaption></figure>

In addition, finding the setting in the ADMX is also confusing, you will need to search for `"Disable a toast and activity center message to encourage a user to sign in OneDrive using an existing credential that is made available to Microsoft applications"`<br>

<figure><img src="/files/0hkMnstrerVD6fdP2qX7" alt=""><figcaption></figcaption></figure>

Once the policy has applied the client will receive the registry key

`[HKLM\SOFTWARE\Policies\Microsoft\OneDrive]"DisableNewAccountDetection"=dword:00000001`

<figure><img src="/files/oL1bRmGPpP7Oj3iae8AH" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.syswow64.co.uk/syswow64/blog/onedrive-prompt-to-sync-personal-onedrive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
