Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Lock Workstation During Installation and Deployment

Updated: 30 Jul 2007 | 1 comment
riva11's picture
+6 6 Votes
Login to vote

During remote installation or will running a command script on a remote computer, I prefer to hide as much as possible from the remote computer's display. I've found that even if software installation can be done in a silent mode, there are some things, like OS scripts, that are not hidden. Here are a few tips to make sure you aren't exposing too much to prying eyes.

To hide some time jobs running on the user desktop, I found an easy way and is send a lock workstation command. Using the following method during an installation the only screen displayed is the logon screen. Nothing else is shown.

After this command the user does have to log in again. But it does enable you to run short scripts or use off-hours periods to run your scripts without them appearing on the screen.

Here is the script:

@Echo off
rundll32.exe user32.dll,LockWorkStation

This function has the same result as pressing Ctrl+Alt+Del and clicking Lock Workstation.

A great feature about this command is that processes running on the desktop are kept alive during the session. In contrast, using the logoff command in the Altiris script, all applications are stopped and the user can lose data.

Comments

EMercado's picture
03
Jun
2008
0 Votes 0
Login to vote

Task Server can send hidden OS scripts

You can use Task Server to run OS scripts totally hidden from the user without the need to lock the workstation. Additionally, if you use vbscript, it will be totally hidden by nature unless you script a message box or something (which you only do when you WANT someone to see it).