We are migrating a file server over the weekend and need to remove all mapped drives from users computers.
Then we need to map the correct drives. You're thinking that this isn't a problem, just change the login script.
Wrong! What if some of the drives had been mapped manually?!?
So, I created this script to removed all mapped drives if they were not in a grouplist.csv file.
This script will retreive group membership from Active Directory and map/remove your drives and printers accordingly based on the information in the grouplist.csv file.
Note: The files should be located in the same folder. (e.g., \\fileserver\netlogon)
Also, This script incorperates the "LazyNetworkAdmin's" Map Network Drive and Printers Based on Group Membership script!
Note: The base of this script was created by James Currie. This was unbeknownst to me until today.
I installed a new AV server. It is runinng Symantec AV 10.1 and Symantec System Center
The clients (running Symantec 10.1) did not check into the new server after pushing out a new install of AV.
The problem was with the reg keys and the certificate not being updated.
This script will copy the new certificate to the target computer, update the regkeys
and then it will restart the symantec service. Then in a few seconds the clients will check into
the Symantec System Center on their own!
This script has been updated!
I placed the second script below the first one, just incase anyone wants to use the old script.
To operate the new script, create a txt file with the names of the machines you need to have log into the SSC.
Then just drop the .txt file onto the script… The rest is automatic!
Two things keep me employed 1. Stupid People and 2. Printers!
Just after Christmas we had a server go down (This was our print server).
It cause all kinds of trouble reinstalling and such… but the biggest pain
were the printers (Their were so many of them). With all of the Terminal servers
using printer scripts and having users who cannot change their settings cause printers
to not be removed when the printserver is gone. To fix this issue I created this script
it will remove all printers from a specified "print server" (e.g., \\PSVR\colorlaser01).
This script can be run as a login script or added to an existing printer script.