OnedriveMapper v3.16 released!

Version 3.16 of OneDriveMapperĀ has beenĀ released:

  • Minor code improvements regarding the 3.15 new automapping feature
  • By default, OnedriveMapper will now always disconnect/delete ALL onedrive/spo mappings before running
  • Drives won’t be double-mapped when running the script twice in a row
  • Only set cookies when running in native mode

Get the new versionĀ here

Leave a Reply

5 Comment threads
9 Thread replies
Most reacted comment
Hottest comment thread
7 Comment authors
SEAN DELESSIOJossteveDominiqueSmith Recent comment authors

This site uses Akismet to reduce spam. Learn how your comment data is processed.

newest oldest most voted
Notify of
Deepak Varshney
Deepak Varshney

Hi Jos, We are using onedrivemapper v3.12. Recently we have enabled MFA for some pilot users and found that the script is stopped working and the onedrive is not getting mapped for these users. We have troubleshooted the issue and enabled $adfsMode = 3 and we are start getting the authentication request on MS authentication app. Once we approves the request it shows the ” IE login function succeeded” and INFO | Mapping target: \\\DavWWWRoot\personal\deepak_varshney_XXXXXXXX_co_uk\Documents but after few seconds we are getting the below messaged and onedrive is not mapped for the user. INFO | login detected, login function succeeded,… Read more »


Hello, Using OneDriveMapper 3.16 in a XenDesktop enviornment running Windows 10 1709. Script runs fine, and it maps my drive fine. My question though is around the Quick Link it creates in File Explorer – currnetly it comes up as the drive letter – is there a way to change that to be something custom? I’d like it to be the same “OneDrive – CompanyName” that the sync client would create to provide a consistent look and feel for users when they have to use Citrix. I didn’t see anyplace in the script where that is set, not sure if… Read more »


Hello Jos,

If we are using a 3rd party SSO for authentication (BitGlass), do you have suggestion on how to use? When testing I get the following errors:

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-



Hi Jos,

thanks for that great tool!

Unfortunately we are facing the problem that when the drives are mapped and we start an ie we get the error that we can not access the sharepoint.

Did we miss some parameters?

Thanks for your help.

Nicolas Coons
Nicolas Coons

I’m having trouble with the MFA. When running the script in native, it asks for the password 3 times, then switches to ie mode. After that I am prompted for my password again (after SSO is not detected), and I get into a continuous loop of MFA requests while the script reads “username not detected”. However, if I dump the .config file created from version 3.13 into my roaming folder with the .tmp files, it connects my drive after sending me the first MFA push in ie mode. Is it just a configuration error on our end? I’m not sure… Read more »