Deployment Solution

 View Only

Software Installation in Progress Message Utility 

May 20, 2009 03:16 PM

During our rapideploy image, the keyboard and mouse are disabled as the PC is renamed and joined to the network. I'd like to have the same thing happen once the PC is connected to the domain and our SVS apps are being deployed. That way people cannot login until the PC is fully installed.  Turns out that this isn't as easy as it sounds.  Not sure how Altiris does it but some other people on the forum have suggested using AutoIT to script the keyboard/mouse disabling routine.

AutoIt does disable the keyboard and mouse but only until someone hits Ctrl-Alt-Del. I wanted to disable the login process so the act of trying to login would stop AutoIt from working.

WIth this in mind, I decided the best option was to have a small program that runs when someone logs in. It tells them that a software installation is still in progress, disables the keyboard and mouse and after 20 seconds, logs the computer off.

The plan is to have a job that does something along these lines

  • Copy AltirisLock.bmp to c:\windows
  • Copy SoftwareInstallationInProgress.exe to c:\Documents and Settings\All Users\Programs\Startup folder
  • Install software App1
  • Install software App2 etc
  • Delete SoftwareInstallationInProgress.exe from c:\Documents and Settings\All Users\Programs\Startup folder
  • So if anytime during the software install someone tries to login, they'll get the message.

I've attached a zip file with the code, BMP and compile code inside it. Feel free to play around or change the BMP if you like.

Hope it helps someone.

Regards

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
AltirisLock.zip   323 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

May 10, 2011 04:37 AM

It helps !!!! Thanks !!!!!

Related Entries and Links

No Related Resource entered.