2
votes
2answers
95 views

Apply GPO to user AD group when using computers in a certain OU

We have a logon-script that copies a number of remoteapp.rdp-files to some users desktops. However these users sometimes also has to connect directly to our terminal server through a remote desktop ...
0
votes
0answers
418 views

AD Home Folder not reconnecting

I know there's a lot of talk about scripts mapping network drives, but I haven't seen much about this specific problem. We have our users' home folders defined in Active Directory user objects, under ...
0
votes
4answers
947 views

Setup Printers Based Upon AD Group Membership

I am trying to create a login script for Active Directory that will be used for installing printers on client computers. I have a basic script that we are using now, listed below, that installs a ...
1
vote
2answers
1k views

Can you create multiple separate Active Directory GPO Logon Scripts?

In my active directory I currently have a GPO on the domain object that contains a logon script. I want to create a new group that I can add users to and have it run an additional / different logon ...
2
votes
4answers
4k views

Active Directory logon script not updating

I've changed the logon.bat file (on the DC shared NETLOGON folder) The changes are basically altering the location of a mapped drive. When users log off, and log back on, they are still being mapped ...
15
votes
11answers
94k views

Best way to find the computer a user last logged on from?

I am hoping that somewhere in Active Directory the "last logged on from [computer]" is written/stored, or there is a log I can parse out? The purpose of wanting to know the last PC logged on from is ...
4
votes
7answers
8k views

Useful Logon Script Commands

Please post useful commands that you use in your logon script. Here are some that I use: map a network drive: net use v: \fileserver\apps map a network printer: RunDll32.EXE ...