AdmWin
AdmWin
Trial license
System requirements
Security requirements
Install / uninstall AdmWin
Remote admin service
SetupBatcher
Getting started
Windows overview
Linux overview
Novell overview
Sections
[Settings] section
[DataFiles] section
[Machines] section
[Init] section
[Batch] section
[Undo] section
[OnError] section
[Data] section
Markers
Error handling
Auto retry
Settings
Variables
Comments
Commands
Active Directory
AD.Account.CopyGroups
AD.Account.CopyProperties
AD.Account.Create
AD.Account.Delete
AD.Account.SetGroups
AD.Account.SetPassword
AD.Account.SetProperty
AD.Contact.Create
AD.Contact.Delete
AD.Group.AddObject
AD.Group.Create
AD.Group.Delete
AD.Group.RemoveAllObjects
AD.Group.RemoveObject
AD.Group.SetMembers
AD.OU.Create
AD.OU.Delete
AD.OU.MoveObject
Data section
$GetDataFiles
Data.Column.Check
Data.Column.DupeCheck
Data.Column.Fill
Data.Column.ReplaceText
Data.Connect.xData
Data.Copy.xData
Data.Clear
Data.Get.AD
Data.Get.AD.Find
Data.Get.FileList
Data.Get.LD.Find
Data.Get.ND
Data.Get.ND.Find
Data.Get.SAM
Data.Get.SAM.PasswordHashes
Data.Insert
Data.Load
Data.Loop..EndLoop
Data.NextLoop
Data.Passwords.Generate
Data.PrintRow
Data.Row.Delete
Data.Save
Data.Series.Generate
Data.Show
Data.Show.Filter
Data.Usernames.Generate
Data.Write
xData.Load
xData.Loop..EndLoop
xData.Save
Disk quota
DiskQuota.Remove
DiskQuota.Set
Event log
EventLog.Backup
EventLog.Clear
EventLog.Write
Exchange 2000
Exchange.2k.Features
Exchange.2k.Group.SetProperty
Exchange.2k.Mailbox.Create
Exchange.2k.Mailbox.Delete
Exchange.2k.Mailbox.SetProperty
Exchange 2007
Exchange.2k7.Group.SetProperty
Exchange.2k7.Mailbox.Create
Exchange.2k7.Mailbox.Delete
Exchange.2k7.Mailbox.SetProperty
Exchange 5.5
Exchange.55.DL
Exchange.55.Mailbox.Create
Exchange.55.Mailbox.Delete
Exchange.55.Mailbox.SetProperty
General
Delay
DOS
DOSR
GoSub
If..Then..Else..EndIf
Inc
LastError.Clear
Logoff
LogonAs
LogWindow.Write
MessageBox
QuitBatch
RaiseError
SaveScript
SET
System.Reboot
System.Shutdown
Wait.Process
VBScript.Begin..End
IIS 4.0 / 5.0 / 6.0
IIS.VirtualDir.Create
IIS.VirtualDir.Delete
IIS.VirtualDir.SetProperty
Linux
Lin.DS.Group.AddObject
Lin.DS.Group.Create
Lin.DS.Group.RemoveObject
Lin.DS.Logon
Lin.DS.Object.Delete
Lin.DS.Op.Commit
Lin.DS.Op.Init
Lin.DS.Op.SetProperty
Lin.DS.OU.Create
Lin.DS.OU.MoveObject
Lin.SSH.Command
Lin.SSH.Logon
Novell
Nov.DS.Account.Create
Nov.DS.Account.Delete
Nov.DS.Account.SetPassword
Nov.DS.Alias.Create
Nov.DS.Alias.Delete
Nov.DS.Group.AddObject
Nov.DS.Group.Create
Nov.DS.Group.Delete
Nov.DS.Group.RemoveAllObjects
Nov.DS.Group.RemoveObject
Nov.DS.Object.AddTrustee
Nov.DS.Object.CopyGroupMembership
Nov.DS.Object.CopyProperties
Nov.DS.Object.Rename
Nov.DS.Object.SetGroups
Nov.DS.Object.SetProperty
Nov.DS.OU.Create
Nov.DS.OU.Delete
Nov.DS.OU.MoveObject
Nov.GW.Account.Create
Nov.GW.Account.Delete
Nov.GW.Account.MoveToPO
Nov.GW.Account.MoveWithinTree
Nov.GW.Account.Reconnect
Nov.GW.Account.Rename
Nov.GW.Account.SetPassword
Nov.GW.Account.SetProperty
Nov.GW.DL.AddObject
Nov.GW.DL.Create
Nov.GW.DL.Delete
Nov.GW.DL.RemoveObject
Nov.LDAP.Logon
Nov.LDAP.SetSimplePassword
Nov.Vol.AddTrustee
Nov.Vol.RemoveTrustee
Nov.Vol.SizeLimit
Nov.Vol.Quota.Remove
Nov.Vol.Quota.Set
Registry
Registry.Delete
Registry.Write
Registry.Key.Create
Registry.Key.Delete
SamAccount
Account.Create
Account.Delete
Account.Edit
Account.Edit.Password
Account.Edit.PasswordHashes
Account.Rename
Account.Set.Group.Global
Account.Set.Group.Local
Account.Set.RAS
Group.AccountAdd
Group.AccountRemove
Group.Delete
Group.Global.Create
Group.Local.AddGlobal
Group.Local.Create
Group.SetProperty
WTS.UserConfig.SetProperty
Service
Service.Admin.Stop
Service.Control
Service.SetLogon
Functions
ADpathFind
ADpathToRFC1779
ADvalue
BuildRID
Chr
Col
Copy
CopyWord
DateAdd
ExpEnvStrings
FileRows
FileValue
FileValueFind
InputBox
LDpathFind
LDvalue
LowerCase
MultiCompare
NDpathFind
NDpathToLDAP
NDvalue
OSversion
ProperCase
ProperCaseName
Random
Replace
UpperCase
xDataRows
xDataValue
Examples
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
Blat
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 Linux user names and random passwords
Modify Linux and Samba accounts
Find and replace multiple Linux user attribute values at once
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 Novell user names and random passwords
Edit Netware accounts
Find and replace multiple NetWare user attribute values at once
Force users to change password
Change NetWare and GroupWise passwords
Copy data between Novell NDS / eDirectory and Windows AD
Novell to Windows
Windows to Novell
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
Create home directories etc. on remote machine without DOSR
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
SamAccount commands vs. AD commands
Fully automated account / AD management with input from central employee or student database
Requirements and preparations
Data file format in example
Account server script examples
2000 server script
NT4 server script
Install GnuPG and generate keys (example with one database server and two account servers)
2000 server - AD commands
About Windows 2000 server account names
Extract accounts to a text file
Create 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 accounts
Find and replace multiple Windows user attribute values at once
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
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
Modify AD properties unknown by SetupBatcher
Manage accounts when AD container is unknown
Extract all accounts and AD paths in domain to [Data] section, use multicompare to search for accounts, delete non-matching [Data] rows
Use ADvalue to lookup AD path from full name (display name), samAccountName or UserPrincipalName
Extract AD paths for all accounts to [Data] section, store in temp file, load work data from external file, use FileValueFind to find common name in temp file
Remove an account from all groups except the primary
Modify "user cannot change password" flag
Set AD security attributes
Set group security attributes
NT server - SamAccount commands
Create 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
Set logon hours
RAS example
WTS example
Edit accounts
Batch change passwords
Change passwords for all accounts with password older than 90 days
Rename SamAccounts
Edit existing accounts
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
NT, 2000 & XP Workstation - SamAccount commands
Create workstation accounts
Change workstation passwords
Set identical password
Set random password
LogonAs, set password, Logoff
Password generator
SamAccount name generator
Print data section
Command line mode
Common problems
Script copied through the clipboard does not work as expected
"A referral was returned from the server." error from AD.X or Exchange.X command
"OLE error 80005000 (#0)" error from AD.X or Exchange.X command
"Too many elements" or "Invalid value" error / comma in command in-parameter
XCOPY does not work (nothing happens)
CACLS problems
"Could not find NT account" error from Exchange.55.Mailbox.Create
"Specified directory service attribute or value does not exist" when trying to set Exchange 5.5 custom attributes
"A constraint violation occurred" error when trying to set Exchange 2000 "assistant" field
"The password does not meet the password policy requirements" error when trying to create account or set password
SetupExplorer
Windows SAM explorer
Accounts
Server mode
Terminal server properties
Active directory properties
Workstation mode
Sort, search and filter
Search syntax
Export data
Create accounts
Modify accounts
Delete accounts
Password sheet
Groups
Shares
Shortcut keys
User definable xD buttons for Windows, Linux and Novell
How to display all existing properties for one account
How to compare all properties for two accounts
How to edit accounts
How to create and delete accounts
How to redefine a button
Windows server group editor
NTinfo
Getting started
Port scanner
Event log reader
File finder
Auxiliary section
DOS
DOSR
Find.Files
Import.Textfile
Import.Textfile2
Enumerate.Registry.Keys
Get.Registry.Value
How to scan a list of machines
NTreport buttons
ResultGrid
General ResultGrid functions
Filter data
Export data
Properties and data format
Hardware
BIOS
CPU type
CPU PSN
Drive letters
Disk info
Disk structure
RAM
Desktop area
Model type
Monitor
Mouse
NIC adapter
Printer
Serials
Video controller
OS
OS basic
OS, SP, fixes
System paths
Services
Autorun
Associations
Start menu files
Desktop items
Recent docs
Processes
Windows
Screen saver
Scheduled jobs
Programs
Network
IP address
Ping result
MAC address
IP name
Port scanner
IP ports
IP stats
Local user
Sessions
Open files
Shares
Mapped drives
Miscellaneous
Auxiliary
Find files record
Event log info
Log statistics
Uptime
Event log record
NTreport
Getting started
Script file format
Settings
Commands
BackupEventLog
ClearEventLog
Clear.Window
DOS
ExitSection
Filter
Get.Data
Keyboard
LookUp.IP
Machines.Loop..Machines.EndLoop
If..Else..EndIf
ResultGrid
ResultGrid.Caption.Columns
ResultGrid.Caption.Window
ResultGrid.Format.Columns
ResultGrid.Format.Window
Wait
Write.Clipboard
Write.File
How the most common commands are used in four basic script types
Variables
Command line syntax
Schedule NTreport
Examples
Read the security log, filter events, file export, send email + winpopup
Read all event logs, search for string, if found - encrypt and send E-mail
Read all event logs, if new events - copy to clipboard
Read all event logs, create HTML files with records from each log
Create a snapshot of all computers visible on the network
Create a snapshot of all locally logged on users in one domain
Create a snapshot of all open files with the extension .DOC or .EXE on one server
Scan one domain, search the desktop and start menu for programs with the substring "readme" in the title, write the result to a file
Scan three servers, generate a report with disk space information and checkdisk information
PING 10 machines, send an E-mail with a list of non-responding machines
PING a whole subnet, generate a list of unauthorized machines (machines without IP name on the network)
Search for folders with the string "found" in the name on C:\ on all NT machines in a domain
Search the program directory on all NT machines in a domain for folders with the string "Netscape", "ftp" or "ICQ" in the name
Enumerate shares in all visible domains, search for "everyone" in the "Access Through Share Permissions"
Log the title of the foreground window on all visible machines
Log details about all processes on the machine \\edu12 where the executable is located somewhere else than in "c:\winnt" or in "c:\program"
Log all established IP connections outside the local domain (192.168.x.x) on \\edu12
Use NTreport as a command line tool to get RAM size from remote machines
List all services that uses a service account
Call NTreport from Excel 2000, use Excel macro code to create an HTML report
Start Excel 2002 from NTreport, format the report by sending keyboard strokes to Excel
WinRemote
Getting started
Send message
Log off
Shut down and reboot
Screen shot
Command prompt
Macro buttons
Processes
Services
Tutorials
SetupBatcher tutorials
Create and run a basic script
Undo
The error dialog, resume a script
How to execute commands when an error occurs
Run a script from the command line
SetupExplorer tutorials
Get accounts and groups, export data via the clipboard
The user definable AD buttons
NTinfo tutorials
Get data from a domain, filter data, export data
Software inventory
NTreport tutorials
Create and run a basic script, define and use a speed button
Run a script from the command line
WinRemote tutorials
Start and end a remote process
1997-2007 Wennstrom Software