![]() ![]() ![]() REG ADD HKU\Default\Software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /t REG\_SZ /d "C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup" REG LOAD "hku\Default" "C:\Users\Default\NTUSER.DAT" I added the lines below into a batch script which I use to do a few small final tasks. ![]() For my environment I chose to do this during the deploy Task Sequence in MDT, after the Application Installs. ![]() If you are employing a different method creating profiles, either from a custom default profile being created and then copied via the CopyProfile setting in the Unattend.xml or another way, then you will need to make sure that the OneDrive first run setup is being run on login as the Group Policy setting only takes effect properly (removing the OneDrive entry from the Navigation bar) when this is done. When you logon you may see the OneDrive entry in the Navigation pane of Windows Explorer for a short time, but it should disappear eventually. If your Windows 10 user profiles are created from the standard default profile then OneDrive should be disabled. It’s a computer only option which you’ll find under Computer Configuration/Policies/Administrative Templates/Windows Components/OneDrive/Prevent Usage of OneDrive for file storage you’ll need to set the option to enabled. The first thing to do is to set the Group Policy option to disable OneDrive. Original postĭisabling OneDrive for Windows 10 (and previous versions for that matter) is a relatively easy task to accomplish, but if you’re doing some profile customisation and setting the “CopyProfile” option in the Unattend.xml then you’ll need to do some extra work to make sure that it’s disabled, and hidden as expected. For my environment, I customise the Default Profile, so I edit the registry in the Task Sequence which sets the option for all future profiles created after deployment. Please note that the registry key must be set on a per user basis. "System.IsPinnedToNameSpaceTree"=dword:00000000 ![]()
0 Comments
Leave a Reply. |