Link to home
Create AccountLog in
Avatar of andrewjones1987
andrewjones1987

asked on

Users Desktop

I have a server 2003 network and have applied a logon script that adds a shortcut to the users desktop, but when I remove the script the shortcut is still there. I have got folder redirection setup for the users. Can anyone help with a script that can maybe check which security group they are a member of and add/delete the shortcut respectively?

Thanks

Andrew
ASKER CERTIFIED SOLUTION
Avatar of smarche
smarche
Flag of Italy image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Put the /delete switch in your script :
net use z: /delete (replace z with the drive letter you use to map the drive)

Are you looking for a script that exports user membership to a text file?
https://www.experts-exchange.com/questions/21614887/Export-Active-Directory-Group-Membership-to-a-text-file.html