Scripted Action - Map Network Drives

Hi all,

We are migrating to Windows 11 Entra joined devices from Windows 10 AD joined devices. We are looking for the best way to map our network drives to our session hosts. Assigning Intune configuration profiles to users doesn't seem to work, I wondered if anyone has an example scripted action that maps network drives to each host?

Cheers 

0

Comments (1 comment)

2
Avatar
Stefan Beckmann

Hi Marcus,

There are two ways we know of/use:

1. There is a PowerShell module that allows you to edit local GPOs. This allows you to enter a logon script via Local GPO. I would manage this in a package, e.g. Shell Apps, to set everything up, copy the scripts to the system, and then edit the Local GPO via PowerShell Script. You can find more information here:
https://github.com/PowerShellCrack/LGPOPSmodule

2. Or you can create a scheduled task of the type “At log on” and store a script there that contains the logic.

In my opinion, scripted actions are not suitable for this purpose, except perhaps for setting everything up.

Stefan

Please sign in to leave a comment.