{"id":641,"date":"2016-03-16T10:29:24","date_gmt":"2016-03-16T10:29:24","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?page_id=641"},"modified":"2016-03-16T10:29:24","modified_gmt":"2016-03-16T10:29:24","slug":"o4bclientautoconfig","status":"publish","type":"page","link":"https:\/\/lieben.nu\/liebensraum\/o4bclientautoconfig\/","title":{"rendered":"O4BClientAutoConfig"},"content":{"rendered":"<p><span style=\"color: #ff0000;\">ARTICLE SUPERCEDED BY\u00a0<\/span><a href=\"https:\/\/www.lieben.nu\/liebensraum\/2019\/06\/ultimate-folder-redirection-for-onedrive-teams-and-sharepoint\/\">Ultimate folder redirection for Onedrive, Teams and Sharepoint<\/a><\/p>\n<p>The new Onedrive for Business client when installed on Windows 10 has a number of options we can use to streamline the user portion of the configuration. I&#8217;ve taken information from several sources and written a single &#8220;<em>Do It All &#8211; Onedrive For Business configuration script<\/em>&#8221; for the Windows 10 Modern Management (Intune MDM Azure AD Join) scenario.<\/p>\n<p><strong>The script can be deployed through Intune and will do the following:<\/strong><\/p>\n<ul>\n<li>check latest O4B version, install if needed<\/li>\n<li>detect O4B configuration, start auto config<\/li>\n<li>completely silent configuration with SSO<\/li>\n<li>optionally, enable <a href=\"https:\/\/support.office.com\/en-us\/article\/learn-about-onedrive-files-on-demand-0e6860d3-d9f3-4971-b321-7092438fb38e\" target=\"_blank\" rel=\"noopener noreferrer\">Files On Demand<\/a><\/li>\n<li>optionally, redirect folders to Onedrive<\/li>\n<li>optionally, copy old content<\/li>\n<\/ul>\n<p><strong>Other stuff you&#8217;ll like to know:<\/strong><\/p>\n<ul>\n<li>The script logs to %APPDATA%\\Temp on the local device for the user details<\/li>\n<li>The script logs to c:\\windows\\temp for the SYSTEM install portion<\/li>\n<li>User needs to have an Intune and Onedrive for Business license<\/li>\n<li>If MFA is enabled the &#8216;silent&#8217; part won&#8217;t apply, but redirection is still applied after the user finishes Onedrive configuration<\/li>\n<li>User does not need to be local admin<\/li>\n<li>Script runs at each logon (scheduled task) but is invisible due to a VBS wrapper<\/li>\n<\/ul>\n<p><strong>Credits \/ Sources used:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/support.office.com\/en-us\/article\/deploy-the-new-onedrive-sync-client-in-an-enterprise-environment-3f3a511c-30c6-404a-98bf-76f95c519668\" target=\"_blank\" rel=\"noopener noreferrer\">Deploy the new OneDrive sync client in an enterprise environment<\/a><\/li>\n<li><a href=\"https:\/\/support.office.com\/en-us\/article\/Use-Group-Policy-to-control-OneDrive-sync-client-settings-0ecb2cf5-8882-42b3-a6e9-be6bda30899c\" target=\"_blank\" rel=\"noopener noreferrer\">Use Group Policy to control OneDrive sync client settings<\/a><\/li>\n<li><a href=\"https:\/\/stealthpuppy.com\/onedrive-intune-folder-redirection\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/stealthpuppy.com\/onedrive-intune-folder-redirection<\/a> (credits to\u00a0<a href=\"https:\/\/twitter.com\/stealthpuppy\" target=\"_blank\" rel=\"noopener noreferrer\">@Aaron Parker<\/a>)<\/li>\n<li><a href=\"https:\/\/osddeployment.dk\/2017\/12\/18\/how-to-silently-configure-onedrive-for-business-with-intune\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/osddeployment.dk\/2017\/12\/18\/how-to-silently-configure-onedrive-for-business-with-intune\/\u00a0<\/a>(credits to\u00a0<a href=\"https:\/\/twitter.com\/PerLarsen1975\" target=\"_blank\" rel=\"noopener noreferrer\">@Per Larsen<\/a>)<\/li>\n<\/ul>\n<p><strong>Instructions:<\/strong><\/p>\n<ol>\n<li>Download script source and save locally: <a href=\"https:\/\/gitlab.com\/Lieben\/o4bautoconfigandredirect\/blob\/master\/O4BClientAutoConfig.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">GitLab link<\/a><\/li>\n<li>Go to Intune and add the Powershell script:<a href=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_add_powershell_script.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2757\" src=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_add_powershell_script.png\" alt=\"\" width=\"1057\" height=\"667\" srcset=\"https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_add_powershell_script.png 1057w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_add_powershell_script-300x189.png 300w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_add_powershell_script-1024x646.png 1024w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_add_powershell_script-768x485.png 768w\" sizes=\"auto, (max-width: 1057px) 100vw, 1057px\" \/><\/a><a href=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_redirect_my_documents.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2758\" src=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_redirect_my_documents.png\" alt=\"\" width=\"933\" height=\"823\" srcset=\"https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_redirect_my_documents.png 933w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_redirect_my_documents-300x265.png 300w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_redirect_my_documents-768x677.png 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/a><\/li>\n<li>Now assign the added script to a group containing your\u00a0<strong>users<a href=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_assign_powershell_script.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2759\" src=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_assign_powershell_script.png\" alt=\"\" width=\"713\" height=\"470\" srcset=\"https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_assign_powershell_script.png 713w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_assign_powershell_script-300x198.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/a><\/strong>4. Click OK, you&#8217;re all set!<\/li>\n<\/ol>\n<p><strong>Note for Office 2016 MDM users:\u00a0<\/strong>the Intune deployment of Office may conflict if it runs at the same time, this will delay the installation by a few minutes but will not cause issues.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ARTICLE SUPERCEDED BY\u00a0Ultimate folder redirection for Onedrive, Teams and Sharepoint The new Onedrive for Business client when installed on Windows 10 has a number of options we can use to streamline the user portion of the configuration. I&#8217;ve taken information from several sources and written a single &#8220;Do It All &#8211; Onedrive For Business configuration &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/o4bclientautoconfig\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">O4BClientAutoConfig<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_crdt_document":"","footnotes":""},"class_list":["post-641","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/pages\/641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=641"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/pages\/641\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}