Notify of

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

Most Voted
Newest Oldest
Inline Feedbacks
View all comments
7 years ago

Dear Jos, Thank you very much for your script. I really appreciate your hard work. The script works well on my standalone machine and I hope it will work at the school as well. I have two questions: Q1.) While the script works, I get an error message in the PowerShell window: “PS C:\Users\bacso\Desktop> .\OneDriveMapper_v2.29.ps1 One moment please, your drive(s) are connecting… True Exception calling “ReleaseComObject” with “1” argument(s): “Az objektumhivatkozás nincs beállítva semmilyen objektumpél dányra.” At C:\Users\bacso\Desktop\OneDriveMapper_v2.29.ps1:349 char:9 + $Null = [System.Runtime.Interopservices.Marshal]::ReleaseComO … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : NullReferenceException OnedriveMapper has finished… Read more »

7 years ago

Hi Jos,
Youre script is awesome but we have a little problem. Currently the script functions perfectly in our VDI environment. Here UAC is disabled.

On our managed machines (laptops and desktops) we can’t disable UAC, and the script malfunctions. The script tells me there are security settings blocking the script from executing. The same set of GPO’s are running on both environments.

Have you encountered similar situations, and could you please assist us in our predicament?

Kind regards,

Nathan van den Brink