Version 2.37 of OneDriveMapperĀ has beenĀ released!
- Supports password save/caching (only if not using ADFS), enabled by default
- Dependency on external Windows7Library removed
- My Documents library redirection now supported natively, probably works on a lot of different MS OS versions now.
Get the new versionĀ here
Hi Jos,
I’m trying to get your script working on a Server 2012 R2 RDS environment.
I think it’s a permission issue but I don’t know where to check:
When I run the script it breaks on the new-object -com InternetExplorer.Application.
Error:
failed to start Internet Explorer COM Object, check user permissions or already running instances
Het ophalen van de COM-classfactory voor het onderdeel met CLSID {0002DF01-0000-0000-C000-000000000046} is mislukt vanwege de volgende fout: 80080005 Uitvoeren vanaf de server is mislukt (Uitzondering van HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
Do you know what’s wrong? And where to check?
Hi. I keep getting this error when running the script on a windows 10 machine. Do you have any suggestions?
Detected running explorer process
Login attempt at Office 365 signin page
Failed to find signin element type 1 on Office 365 login page, trying next method. Error details: Method invocation failed because [System.__ComObject] does not contain a method named ‘IHTMLDocument3_getElementById’.
Failed to find signin element type 2 on Office 365 login page, trying next method. Error details: Method invocation failed because [System.__ComObject] does not contain a method named ‘IHTMLDocument3_getElementById’.
Failed to find signin element type 3 on Office 365 login page, attempting to log in anyway, this may fail. Error details: Method invocation failed because [System.__ComObject] does not contain a method named ‘IHTMLDocument3_getElementById’.
attempting to trigger a redirect to ADFS using method 1
Failed to find the correct controls at https://login.microsoftonline.com/ to log in by script, check your browser and proxy settings or check for an update of this script. Method invocation failed because [System.__ComObject] does not contain a method named ‘IHTMLDocument3_getElementById’.
autoProtectedMode is set to True, reverting to old settings
Setting zone 0 back to 3
Setting zone 1 back to 3
Setting zone 2 back to 3
Setting zone 3 back to 3
Setting zone 4 back to 3
OnedriveMapper has finished running