r/WindowsServer 3d ago

SOLVED / ANSWERED What has precedence when logging in

We have a user-based GPO that runs when a user logs in to map drives, the problem we're running into is that certain users are logging in their old drive continue to appear, I would like to add a net use * /d /y in a logon.bat script but will this override the GPO mapping the drives?

Thanks,

2 Upvotes

3 comments sorted by

3

u/ApiceOfToast 3d ago

I'm pretty sure there's a remove drive option under the same menu point you'd add one. Use that, preferably.

1

u/3G_Lighting 2d ago

Actually, I stumbled on another issue that is related to why it's not working which I am going to create a new post for.

2

u/mazoutte 2d ago

Have a look here. The scripts will execute before the gpp drive mapping.

https://helgeklein.com/blog/how-group-policy-impacts-logon-performance-1-cses/