I hate it when I reboot a server or when we had a wind storm the other day it kept knocking out power and out UPS kept wanting to shut down the server gracefully. When they came back up 2-3 services didn’t restart(yes auto restart was enabled). So this script will run as a scheduled… Read More »
Several months ago I was searching for a way to add environmental variables to a system via a vbscript because we have a piece of software which requires special paths set in order to run. I was unable to find anything at the time which was able to do what I wanted it to do. Well today while browsing the forums over at http://petri.co.il I stumbled across a script posted by Rems which does exactly what I needed. Since it was so hard to find before, I decided to post it here… hoping the next person doesn’t have to look so hard.
I decided to check the size of some of my logs on specific servers. Well, as it turns out there were 4GB of logs! I needed a script that would delete the files after so many days. I was really lazy and looked up the recursion portion (MS Scripting Guys)! You can point this script anywhere and it will delete any files older then the days you specify.
In a script I use I need to query all of a machine's MAC addresses.
So, I pulled this function out and made it a stand alone script.
Use can query by IP or by computer name.
Sorry that I have been gone for awhile. I just started a new job as the Director of Information Technology for a law firm. But I am working on some new scripts and will be rolling them out soon. I hope they make your life easier and keep you lazy! Thanks, Chey Harden
Lots of companies don’t want to shell out the $$$ for going to Office 2007. Luckily, Microsoft has a file converter that allows users with Office 2003 to read and edit Office 2007 files!
My script will allow you to silently install the .exe on your users’ machines.
Just add it to a GPO
Download the converter pack here: http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en
Users of the Microsoft Office XP and 2003 programs Word, Excel, or PowerPoint—please install all High-Priority updates from Microsoft Update before downloading the Compatibility Pack.
By installing the Compatibility Pack in addition to Microsoft Office 2000, Office XP, or Office 2003, you will be able to open, edit, and save files using the file formats new to Word, Excel, and PowerPoint 2007. The Compatibility Pack can also be used in conjunction with the Microsoft Office Word Viewer 2003, Excel Viewer 2003, and PowerPoint Viewer 2003 to view files saved in these new formats. For more information about the Compatibility Pack, see Knowledge Base article 924074.
The lazy admin knew I had a script that would do something to a users acount. Somthing with the passsword.
Well, I did. But not what he was asking for. So, I took the previous password script and changed it.
Thanks to Guy Tomas for starting the ball rolling.
I changed the script to uncheck the "password never expires" checkbox.
Sometimes items get hard deleted and you need a way to recover them. This script will add a registry key to allow for message recovery for all folders in Outlook. Then you will be able to click on tools>"Recover Deleted Items" from any folder!
For More information on this please see: http://www.msexchange.org/tutorials/Recovering-Deleted-Items-Exchange-Server-2003-Part1.html
I had a client that needed to change service credentials across 50 servers for Backup Exec at the same time.
So, I wrote this script to change the credentials for any service remotely.
I will be rolling out Symantec's new SEP 11 soon and I need to remove the previous Symantec AV install.
This Script should work on all SAV 9-10 installs.
This script can be easily modified to run remotely. Maybe in the near future I will add this functionality.