Here is a script which will not only copy files specified in an XML file but also log weather the file copy worked or not and insert a registry key to check if filecopy has run before so it doesn’t run it again. I use this for copying altered remote assistance files to my remote computers via Group Policy.
Where I work we sell a lot of Seiko Smart Label Printers to customers.
We have recently found out that the new version (6.0.7) of the software breaks the label printers functionality.
We have contacted Seiko and their answer is to go to Add/Remove Programs and uninstall the software.
Great, but one problem! If you try to install an older version of the software the printer functionality is still broken.
So, with a little digging I discovered that the Seiko uninstaller leaves "junk" all over your computer.
My script will remove the "junk" and allow you to install an older version of the Seiko driver that works.
This is an update to the previous script "Query Dell Service Tag".
I couldn't leave well enough alone…
The LazyNetworkAdmin defined his script as,
"Because most of the computers I work on are Dell's,
a lot of times I need to look up the service tag for a specific machine.
Without the need of bulky software, you can easily use WMI to gather this information.
This article will show you how to remotely query your dell pc's for their service tags."
Making my job easier through scripting is becomming a passion of mine.
I love to find problems that I can write a script for and then sit back and let the script do the work.
This script will list all running process and write tham to a text file.
Then it will search for a defined process in the file.
If the process doesn't exist, the script will start the app!
***This script has just been edited. In case you don't want to use a text file, I have created an array to perform the same function. It is a little faster!
It's me again… Ho,Hum… I have a user who likes to run games on his computer instead of doing his work.
I found a couple of scripts online and joined them together. This script will monitor a specified computer
and if a defined process starts, the script will kill it.
You could also run this as a logon script by replacing
This: strComputer = InputBox("Enter the name of the target computer here!")
With this: strComputer = "."
Well, I had a script that would log off all of the computers in an OU.
But, what if you just wanted to log off or reboot one computer?!?
Oops… I didn’t think of that! Well, I guess I can’t say that any more.
This script will allow you to reboot, logoff or shutdown any computer.
Ok, I want to make things easy when looking for an object in the registry.
I hate when their are a million SIDs and I have to search through a few to find what I am looking for.
This script will allow you to pull all objects and their SID and write it to a text file.
I was looking through the registry of a terminal server for a users outlook profille info.
The only problem was, all users are referred to by an SID.
I did some searching on the Internet and found this answer.
This script will allow you to pull a users SID and display it in a message box.
Recently I ran into a problem with HPs Share-to-Web software.
My Microsoft Office applications stop responding and the computer was acting buggy.
Here are the symptoms you may see:
After you install security update 908531 (security bulletin MS06-015), you may experience one or more of the following problems:
• You cannot access special folders such as “My Documents” or “My Pictures.”
• Microsoft Office applications stop responding when you try to save or to open Office files in the “My Documents” folder.
• Office files that are located in the “My Documents” folder cannot be opened.
• If you open a file by clicking Open on the File menu, the application stops responding.
• When you type an address in the Address box in Microsoft Internet Explorer and you then press ENTER or you click Go, nothing happens.
• When you right-click a file and then click Send To, nothing happens.
• When you expand a folder in Windows Explorer, nothing happens.
• Some third-party applications stop responding when you open or save data in the “My Documents” folder.
This script will apply a registry fix to your computer.
I found this one in my archives. Once I had to find out a value of a registry key on all my domain PC’s. This script will query either a single remote computer or an entire domain for the value of the specified key.