Jump to content

Recommended Posts

Posted

I am wanting to install Knowledge box and it's dependencies (Acrobat, quicktime etc) quickly onto all our machines. Knowledgebox comes with an installation batch file that uses hot keys to automate the installation of the programs etc..

 

I believe this means that I can't simply run the .bat file on each client from a pre log on. I think I need to have every machine logged on and then run this batch file.

 

Is there a way to mass log on every computer in school with say a manager username and password so that I can run this batch file?

Posted

You could use this script to set auto logon for whichever account you want:

 

'This script sets the default Domain and the autologon name and password
'This script is meant to be run from the cmdlines.txt file.



Option Explicit
Dim ws
Set ws = WScript.CreateObject("WScript.Shell")


Dim strKeyPath
strKeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\"
ws.RegWrite strKeyPath & "AutoAdminLogon", "1", "REG_SZ"
ws.RegWrite strKeyPath & "AutoLogonCount", "1", "REG_SZ"
ws.RegWrite strKeyPath & "DefaultPassword", "yourpassword", "REG_SZ"
ws.RegWrite strKeyPath & "DefaultUserName", "Administrator", 

 

TO remove theses details

 

'This script sets the default Domain and the autologon name and password
'This script is meant to be run from the cmdlines.txt file.



Option Explicit
Dim ws
Set ws = WScript.CreateObject("WScript.Shell")


Dim strKeyPath
strKeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\"
ws.RegWrite strKeyPath & "AutoAdminLogon", "0", "REG_SZ"
ws.RegWrite strKeyPath & "AutoLogonCount", "0", "REG_SZ"
ws.RegWrite strKeyPath & "DefaultPassword", "", "REG_SZ"
ws.RegWrite strKeyPath & "DefaultUserName", "", 

 

Use the first script as a startup script and then when you are done use the other as a startup and shutdown script to make sure it runs.

Posted
I am wanting to install Knowledge box and it's dependencies (Acrobat, quicktime etc) quickly onto all our machines. Knowledgebox comes with an installation batch file that uses hot keys to automate the installation of the programs etc..

Just a thought but you could always get the MSI's for the various dependencies for Kbox and install them over GPO.. that way you can control updates a little better.

Posted
I have a script that installs some of these dependancies when I RIS machines... maybe you could list the software required and we could give you ways to do the silent installs.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...