In this article we will show you how to create a Post Install Task on the KACE K2000 to Lock the Screen while the Tasks run.

This task is a simply a Lock Screen command which is created as a task which is run as the first task, which generally locks the screen before anyone see the desktop and can continue to run its other tasks while stopping before playing with the machine while logged in as a administrator.

Download Lock Screen Task

The Task has been pre-made as a package file ready for import straight into the K2000, so will show up as a Post install Task once imported.
Download the task from the following link Lock_Windows_Workstation_Screen.zip

Importing Lock Screen Task

Unzip the downloaded file and you should have Lock_Windows_Workstation_Screen.pkg (Its zipped up, because some browser’s decide to rename the file to a incorrect format.)

  • Login to the K2000
  • Go to ‘Settings & Maintenance’ tab
  • Go to the ‘Package Management’ Sub-Tab
  • Select Import K2000 Packages
  • Click ‘Choose Action’ and select ‘Upload Package for Import’
  • Click ‘Choose File’ and select the location of the downloaded package file (Lock_Windows_Workstation_Screen.pkg)
  • Click Import Package.

You now created the task, simply choose this task as the first in the install order.

Whats in the Batch Script

The Batch script is very simple.
It is literally a basic command which runs the lock screen command as shown below.

---- beginning of script ----
rundll32.exe user32.dll, LockWorkStation
--- end of script ----

Download Article