OneDriveMapper automatically map your OneDrive for Business upon login

This script maps your Onedrive / Sharepoint / Teams document libraries to driveletters (or shortcuts). It can be used in any environment (VDI, RemoteApp, w10 etc).

 
 
 
 
 
4.6 Star
(116)
75,529 times
Add to favorites
Office 365
2/3/2019
E-mail Twitter del.icio.us Digg Facebook
  • Error Detected string error 224
    2 Posts | Last post April 29, 2019
    • We are using windows 10 with the 3.20 login script but we keep getting the below error, it works if sharepoint is open in IE.  The trusted sites are added and I have tried resetting IE but still get the error on the next reboot
      
      ERROR: detected string error 224 in return code of net use command, this usually means your trusted sites are misconfigured or KB2846960 is missing or Internet Explorer needs a reset.
      Error failed to contact H: after mapping it to \{domain.sharepoint.com@SSLDavWWWRootpersonal{user_domain}Documents
       , check if the URL is valid.
      System error 224 has occurred. 
      Error: Access Denied. Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site, and select the option to login automatically.
      
      
    • I have got the same error on Windows Server 2016, version 3.18 is working correctly
  • Error
    3 Posts | Last post April 17, 2019
    • I am getting the following error under MFA
      
      ERROR | userLookupMode is set to 3, but the registry path HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WorkplaceJoin\AADNGC does not exist! Using method 2
      ERROR | userLookupMode is set to 3, but the registry path HKCU:\Software\Classes\Local Settings\Software\Microsoft\SettingSyncHost.exe\WinMSIPC does not exist! Using method 3
      ERROR | userLookupMode is set to 3, but the registry path HKLM:\SOFTWARE\Microsoft\IdentityStore\Cache\S-1-5-21-4051172019-4201845401-128855694-279757\IdentityCache\S-1-5-21--4201845401-128855694-279757 does not exist! All lookup modes exhausted, exiting
      
      
      Please help.
    • Having the same issue, any workaround?
    • Please change it to 1 at Line no 28 and retry, please don't forget to change your o365 customer name / domain name @ line no 26.
      
  • iam getting a error like this
    3 Posts | Last post April 17, 2019
    • ERROR | userLookupMode is set to 3, but the registry path HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WorkplaceJoin\AADNGC does not exist! what does it mean
      
    • Okay 
    • Please change it to 1 at Line no 28 and retry, please don't forget to change your o365 customer name / domain name @ line no 26.
  • Two tenants
    2 Posts | Last post April 09, 2019
    • This is working great! But now i need to map two drives, for two different tenants. Any advice how to achieve this with this script? Or any other way? Users are working from a terminal server. 
    • Thats two drives for the same user, the user has two different Office365 users in two tenants.
  • i want to map one common one drive to all user
    1 Posts | Last post March 20, 2019
    • i want to map one common one drive to all user for file sahring...iam struggting alot to do it...please anybody advice..
  • Awesome Script
    2 Posts | Last post February 01, 2019
    • Thanks a lot! The script works perfectly and even gets better with each version.
    • +1 thanks!!
  • Warning about Settings on ODM Initial Run
    1 Posts | Last post January 21, 2019
    • I'm on Windows 10 Pro. I downloaded and ran OneDriveMapper (ODM) with PowerShell. ON the initial run Windows warned me about a setting that ODM required would make my data vulnerable. I assumed it would either change that setting back, or instruct me on how to do that after it completed. After running in the command window, there were no additional prompts, and seemingly no evidence that ODM accomplished anything. 
      
      So, ODM did not map my OneDrive volume, and it made my data vulnerable. 
      
      Please help me. I do need to mount/map my OneDrive volume. Beyond that, whether OneDrive gets mapped or not, I'll need to undo that initial setting that made my data vulnerable.
      
      Thank you in advance.
      
  • Mapped Library Default Folder Issue
    1 Posts | Last post November 27, 2018
    • I have a site where the default location my mapping takes me is to a sub folder, why might that be?
  • Site Libraries mapping
    1 Posts | Last post November 27, 2018
    • Are you able to have other created libraries on the site mapped besides the main "Documents" library?
  • Can this work with MFA?
    1 Posts | Last post October 02, 2018
    • Hi
      
      We have recently turned on MFA for user accounts, using ADD and Condtional Access and the one drive mapper no longer works on a Citrix VDI.
      
      Thanks
11 - 20 of 197 Items