Welcome to WiseSoft.co.uk!
Register
About
Contact
Donate
Home
Scripts
Articles
Software
Forum
Links
Active Directory Schema Guide
Submit a Script
All Scripts
Active Directory
Computer
Database
Event Logs
Exchange/Email
File System
General
Printer
SQL Server
Account Page
Address Page
COMPlus Page
DialIn Page
Environment Page
General Page
MemberOf Page
Organization Page
Profile Page
RemoteControl Page
Sessions Page
Telephones Page
TerminalServices Page
Batch File
HTA
KiXtart
PowerShell
T-SQL
VB
VBScript
Computer Accounts
Domains, Forests & Trusts
Groups
Monitoring & Replication
Organizational Units
Schema Information
Search
Sites and Subnets
User Accounts
PowerShell
VBScript
VBScript
PowerShell
VBScript
VBScript
VBScript
VBScript
VBScript
PowerShell
VBScript
VBScript
PowerShell
VBScript
HTA
KiXtart
PowerShell
VB
VBScript
VBScript
KiXtart
PowerShell
VBScript
PowerShell
VBScript
Batch File
KiXtart
PowerShell
VBScript
HTA
VB
VBScript
HTA
KiXtart
PowerShell
VBScript
HTA
PowerShell
T-SQL
VBScript
All Articles
Active Directory
Miscellaneous
Programming
Scripting
Security
SQL Server
WiseSoft
Submit Article
All Software
TSQL DDL Code History Tool
Account Management Spreadsheet
Bulk AD Users
Password Control
Script Builder
NTFSFix
TSQL DDL Code History Tool
Bulk AD Users
Password Control
Script Builder
Account Management Spreadsheet
NTFSFix
Scripting
Guestbook
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Login
User Name:
Password:
Remember me next time
Forgot Password?
Login using OpenID:
Create free account
Exclusive access for registered users
Registered Users:
20870
Click here to find out how you can help support wisesoft.co.uk!
home
recent topics
recent posts
search
faq
AspNetForum v.5.2.7.0
WiseSoft :: Forum
:: Forum
user:
psw:
remember me
|
lost password
|
register
Home
»
Scripting
»
Computer AD Imaging Actions Superscript
|
11/24/2011 10:44:35 PM
permalink
ttgp1
Posts 1
Background info:
I use Ghost Solutions Suite 2.5 to image computers. I use wsname.exe to rename the computers via a text file (mac2pcname.txt) with MAC addresses mapped to the new computer name after SysPrep runs. I am well aware that Ghost has a few features to perform what I am requesting but it is limited.
So a superscript can remedy this limitation for me. Or other scripts that can be ran together to accomplish what I am asking.
I need a script that will join a computer to a domain after it is properly renamed via the wsname application after SysPrep runs. Then I want the script to query the computer's name and move this computer to the proper OU. We have about six OUs under one domain. The computers are named based on the building number for which most of these OUs are identified (i.e., XP Computers OU has computers named with building 24* [where *=B, C, or D], 58 Computers OU has computers named with building 58, etc.).
I would like for all of this to be performed silently without ANY user intervention. This script will be used in conjunction with the SysPrep process. Preferably something that will run this script via SysPrep switches such as adding a GUIRunOnce, or placing the script in the registry to perform its magic. Startup scripts will also suffice.
So when one of our administrators reimages a computer, and if they update the mac2pcname.txt file properly, the entire process will automatically close the loop for a computer being reimaged, renamed, joined to the domain, and moved to the proper OU. I also know that computer accounts can be manually created in the proper container before joining the computer to the domain and would resolve a couple of these steps. But I forgot to mention we have LAZY administrators.
I have to mention that I have a SQL DB repair script that needs to run after this computer is renamed from the wsname script and the computer has to restart to complete this process. This script basically uninstalls SQL then reinstalls it so that the DB instance name matches the host name. A GOTS (government off the shelf) application installs SQL and obviously requires that the host name and DB instance name be paired. This program can run any time after the computer is renamed but now it runs after the wsname restarts the computer itself via a registry run once added from the wsname script. Yeah, we were irritated when an SQL install was added to the updated version of this program!
I am not a programmer. I do understand the basic structure of scripts and I am getting pretty familiar with SysPrep and how it works with running scripts.
Please do not recommend any other programs unless they are free. I work for the government so we do not have any money to buy a product that can do the actions I requested.
Thanks,
Terrence
pages:
1
|
Home
»
Scripting
»
Computer AD Imaging Actions Superscript