Hide file locations when opening or saving files

This policy setting allows you to hide specific file locations when the user opens or saves a file. This helps prevent users from using either the local PC, SharePointServer, or Microsoft Office 365 cloud-based file locations such as OneDrive or SharePoint Online, to open, save, or share files.

Note: This policy setting only applies to Word, PowerPoint, and Excel.

If you enable this policy setting, you can specify which file locations are hidden when the user opens or saves a file.

If you disable or don't configure this policy setting, users can use the local PC, SharePoint Server or any configured Microsoft cloud-based file location to open, save, and share files.

Supported on: At least Windows 7




  1. Hide OneDrive Personal
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\common\internet
    Value Nameonlinestorage
    Value TypeREG_DWORD
    Value1
  2. Hide SharePoint Online and OneDrive for Business
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\common\internet
    Value Nameonlinestorage
    Value TypeREG_DWORD
    Value2
  3. Hide OneDrive Personal, SharePoint Online and OneDrive for Business
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\common\internet
    Value Nameonlinestorage
    Value TypeREG_DWORD
    Value3
  4. Hide Local PC
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\common\internet
    Value Nameonlinestorage
    Value TypeREG_DWORD
    Value4
  5. Hide OneDrive Personal and Local PC
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\common\internet
    Value Nameonlinestorage
    Value TypeREG_DWORD
    Value5
  6. Hide SharePoint Server
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\common\internet
    Value Nameonlinestorage
    Value TypeREG_DWORD
    Value8


office16.admx

Administrative Templates (Computers)

Administrative Templates (Users)