Opening and saving files from some MS Office products like Excel gives the option to sign into OneDrive.
When using Cameyo's integrated cloud drives, it may be undesirable for users to see the above. It can be removed by each user by going to Options and finding the right box to tick or untick in the Save section, or it can be automated for all users with UserTemplate and this registy key:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\General]
"SkyDriveSignInOption"=dword:00000000
Users would then see this:
When users have a file open and use keyboard shortcut Ctrl + s to save, they are taken to a screen like one of the above. That screen can be skipped, taking users directly to our file dialog (or Windows file dialog if ours is disabled) with this in registry:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\General]
"SkipOpenAndSaveAsPlace"=dword:00000001
It also works for Ctrl + o for opening files via file dialog directly instead of Microsoft's Backstage as pictured above.
The start page can be skipped when launching the MS app. This, for example:
If it is preferred for a blank Word document to open instead of the start page, here it is in registry:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\Options]
"DisableBootToOfficeStart"=dword:00000001
To remove the Sign in Button
use this registry key:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\SignIn]
"SignInOptions"=dword:00000003
To remove the Privacy dialog
use this registry key:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Privacy\SettingsStore\Anonymous]
"OptionalConnectedExperiencesNoticeVersion"=dword:00000002
To remove the License agreement:
use this registry key:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Registration]
"AcceptAllEulas"=dword:00000001
To set the Default File Types to Office Open XML:
use these registry keys:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\General]
"FirstRunTime"=dword:019975fb
"FileFormatBallotBoxAppIDBootedOnce"=dword:00000000
"FileFormatBallotBoxTelemetryEventSent"=dword:00000001
"ShownFileFmtPrompt"=dword:00000001
"FileFormatBallotBoxShowAttempts"=dword:00000001
To disabled the Protected View (Attention: this is a security issue!)
use the following keys:
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\Security\ProtectedView]
"DisableAttachementsInPV"=dword:00000001
"DisableInternetFilesInPV"=dword:00000001
"DisableUnsafeLocationsInPV"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView]
"DisableAttachementsInPV"=dword:00000001
"DisableInternetFilesInPV"=dword:00000001
"DisableUnsafeLocationsInPV"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\PowerPoint\Security\ProtectedView]
"DisableAttachementsInPV"=dword:00000001
"DisableInternetFilesInPV"=dword:00000001
"DisableUnsafeLocationsInPV"=dword:00000001
If you would like all of the above, i.e. remove OneDrive from showing in Backstage, the ability to skip Backstage with keyboard shortcuts Ctrl + o and Ctrl + s, no start page for Excel and Windows, you can copy this and save it as C:\UserTemplate\AnyUser\%Profile%\profile.reg:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\General]
"SkipOpenAndSaveAsPlace"=dword:00000001
"SkyDriveSignInOption"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\Options]
"DisableBootToOfficeStart"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\Options]
"DisableBootToOfficeStart"=dword:00000001
Saving to C:\UserTemplate\AnyUser\%Profile%\ requires administrator privileges and is done most easily by connecting to the server as AdminUser (the same way used for installing software on the Cameyo server). Please see our guide for UserTemplate here:
https://helpcenter.cameyo.com/support/solutions/articles/80000212602-provisioning-pre-defined-files-to-user-sessions