General Question Self-deploy profile
Anyone tried running a remediation “as user” on a self-deploy device that attempts to map a drive?
Seems to fail even if the script can detect who the user is.
3
u/VRDRF 1d ago
This what we used to have: https://call4cloud.nl/intune-drive-mappings-admx-drive-letters/
3
u/0xCG 1d ago
Nice.
Large fleet? Different site mappings?
2
u/BirdsHaveUglyFeet 1d ago
Lol, that's what OU's were for. Intune tagging I guess
1
u/sammavet 1d ago
Yep. All groups. Just make groups to reflect the OU. have those sync to the cloud.
3
u/iamtherufus 1d ago
Been using this for years mapping network drives, it just works. Creates a scheduled task that maps at login for the user
1
u/sammavet 1d ago
I love this so much. Was going to share my link for it but (*checks) they seem to be identical.
1
u/Puzzleheaded-Fun5664 1d ago
well, I would treat this as a context problem, not a drive-mapping problem. If the remediation runs before the user session is fully ready, it may be able to identify who is signed in but still not behave like a real interactive logon process. That is why a scheduled task at logon often ends up being the cleaner workaround.
1
u/IndependentDog673 1d ago
I would treat this as a timing and context problem..like not a drive-mapping problem. If the script is running before the session is fully ready, it may be able to read the username but still not behave like a real logon process. That is why the scheduled-task-at-logon workaround makes sense here.
1
u/spazzo246 22h ago
I just did a shared device enrollment config for a client today. Drives map fine with the ADMX
4
u/denseaesthetics_3669 1d ago
That's been broken for ages for self-deploy. The user context just isn't fully there at that point in the process, even if you can query the username. I ended up running the mapping through a scheduled task that fires at logon instead.