You can use some tools to add Active Directory interaction into your batch scripts. DS tools come with the admin pack from Microsoft for Windows XP or Windows Server 2003. You can use dsquery to retrieve information from the AD or use dsmod to adjust settings related to an OU, user, or computer account. Additionally, there is: dsadd dsget dsmove dsrm I use dsmod to change the … [Read more...]
Script Your Default Printer
To set your default printer with a batch script, you can use the printui.dll. Just specify the name of the printer in the quotes and you can specify your default printer at logon (put your defaultprinter.bat in your startup folder). @REM Set default printer receipt rundll32 printui.dll,PrintUIEntry /y /n "Receipt Printer" /q … [Read more...]
Making the Ultimate Backup Script for your users (or even yourself)
Computers are great at repetitive tasks whereas humans get bored and might skip some steps every now and then. This was the exact situation I found myself in while doing machine replacements. Every time I sit down to replace a machine, I would end up copying the same things from a user's machine and writing down the same info in order to transfer things to the new machine. In … [Read more...]
Print Migrator
Ever wish you could copy/paste printers from one computer to another? Well, this is about as close as you're going to get. Using Microsoft's Print Migrator 3.1 tool, you can grab a snapshot of printers installed, their names, their ports, and (most of) their drivers. The tool will save a .cab file to whereever you specify and you can then use this .cab file to restore the … [Read more...]