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!
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.
On our network we are redirecting some things but not all folders. Users always start yelling about I am missing my favorites or when I type in Outlook I do not get the "names" to popup. So the script below will copy these important files to a backup location. I made everything modular because this script does some good things. 1. It will detect who the currently logged on user is. 2. It performs a file copy using the %userprofile% variable. 3. Lastly, it checks to see if a folder exists. (I know this one is not that exciting)
The other day I decided that I wanted to move all internal emails into another folder in my outlook. Well much to my surprise, there is no easy way to do this. While I was searching for a way to do this I noticed that all internal emails from within my exchange organization contained no internet headers and all emails from the internet contained atleast my domain name. I know that this one might be a little silly and wont be the most popular tip up here but I spent quite some time searching for how and wanted to save atleast one other person this time..