Examples
Top  Previous  Next


Copy any script by selecting it and pressing CTRL+C.
Press CTRL+V in the SetupBatcher editor to paste.

Press F1 in the SetupBatcher script editor to open the help topic for the command next to the cursor position.

Computer accounts

·Add and remove Windows 2000 server computer accounts  

DNS server

·Add / remove DNS entries  
·Add / remove reverse lookup zones  
·Add / remove reverse lookup pointers  

DOS + DOSR / Call other programs / Run programs on remote machines

·List of useful command line / resource kit tools  
·Run a program located on the local machine on a remote machine  
·Call SetupBatcher from the command line to run commands on remote machines  
·Schedule a program on many machines at once  
·Create ERD images from many NT4 systems at once (remote process management)  

Event log

·Backup and clear remote event logs  

Exchange 5.5 and IIS 4.0

·Create and delete 100 Internet-enabled accounts in five minutes  
·Automatically make sure that new email addresses are unique  

Exchange 2000 and IIS 5.0

·Create and delete 100 Internet-enabled accounts in five minutes  
·Create web pages by using the copy command  
·Automatically generate unique email addresses  

File management

·Delete files older than seven days  
·Move media files, big files and all files older than seven days  

Linux

·Create Linux and Samba accounts  
·Generate unique user names and random passwords  
·Modify Linux and Samba accounts  
·Find and replace multiple Linux user attribute values at once <- New!  
·Change Linux and Samba passwords  


Novell

·Create and delete 1000 NetWare test accounts in five minutes  
·Create and delete NetWare and GroupWise accounts  
·Generate unique user names and random passwords  
·Edit Netware accounts  
·Find and replace multiple NetWare user attribute values at once <- New!  
·Force users to change password  
·Change NetWare and GroupWise passwords  
·Copy data between Novell NDS / eDirectory and Windows AD  
·Find duplicate account names  

Registry

·Edit the registry on many machines at once  

Service management

·Change service password on many machines at once  

Server shares / home directories

·About home directories for different Windows clients <-Read this first  
·Create home directories, shares and set permissions on a remote machine without DOSR (use administrative share)  
·Set share permissions  
·Edit share permissions  
·Manage disk quota  
·Take ownership of and then delete an entire subdirectory  

Transfer accounts including passwords between Linux, Novell and Windows

·Transfer accounts from Linux to NetWare  
·Transfer accounts from Linux to Linux  
·Transfer accounts from Samba to Samba  
·Transfer accounts from Samba to Windows  
·Transfer accounts from Windows to Samba  
·Transfer accounts from Windows to Windows  

User accounts / groups - general

·SamAccount commands vs. AD commands <-Read this first  
·Fully automated account / AD management with input from central employee or student database <- Consider this  

User accounts / groups - 2003 and 2000 server - AD commands
 
General 2003 and 2000 server
 
·About Windows 2000 server account names  
·Extract accounts to a text file  
·Copy data between Novell NDS / eDirectory and Windows AD  

Create 2003 and 2000 server accounts

·Basic user and group management with AD commands  
·Clean up data and generate unique Windows 2000 server user names  
·Windows ME / 98 clients - net use to hidden share  
·XP / 2000 clients - net use to share above directory  
·XP / 2000 clients - folder redirect, password + user name generator  
·Create, manage and delete contacts  

Edit 2003 and 2000 server accounts

·Find and replace multiple Windows user attribute values at once <- New!  
·Change domain passwords  
·Completely rename a Windows server 2000 account  
·Edit existing Windows 2000 server accounts  
·Set a property for all accounts in one single OU or group - list of accounts to modify from SetupExplorer  
·Set a property for all accounts in one single OU or group - list of accounts to modify from Data.Get.AD command - automatic  
·Conditional account management - find + replace values in AD  
·Move all accounts that are member of a certain group to the same OU  
·Manage accounts by WhenChanged, WhenCreated and LastLogon <- Delete accounts disabled for 90 days or more  
·Modify AD properties unknown by SetupBatcher  
·Manage accounts when AD container is unknown  
·Remove an account from all groups except the primary  
·Modify "user cannot change password" flag  

Set AD security attributes

·Set group security attributes  

User accounts / groups - NT 3.51, NT 4 server - SamAccount commands

Create NT 3.51, NT 4 server accounts

·A basic account creation script (detailed explanation)  
·Home directories and shares for Windows 9x clients - Account.HomeDir to hidden share  
·Home directories and shares for NT3.5x and NT4 clients - subst  
·Series SamAccount name generator, random passwords  
·Letterpicker SamAccount name generator, pronounceable passwords  
·RAS example  
·WTS example  

Edit NT 3.51, NT 4 server accounts

·Batch change passwords  
·Change passwords for all accounts with password older than 90 days <- Consider this  
·Rename SamAccounts  
·Edit existing accounts  

Other NT 3.51, NT 4 server tasks

·Create, delete and rename groups  
·Add non-English characters to the valid character set  
·Get account properties for a list of SamAccounts  
·Use the same password in two different domains  

User accounts / groups - NT, 2000 & XP Workstation - SamAccount commands

·Create workstation accounts  

Change workstation passwords

·Set identical password  
·Set random password  
·LogonAs, set password, Logoff