Jump to content


Batch script with progress bar?

Recommended Posts

I have a batch file with chained tasks (uninstall -> install). The user cannot start outlook and IE in the meantime, which some do. Therefor I want to make a script displaying the progress of the installation or just block the screen (freeze keyboard) with a message on the screen.


Is this possible? Does anybody have this already?

Share this post

Link to post
Share on other sites

I tried already to block the access to the keyboard and mouse but it's only working if the computer restarts which is not ideal. Following keys were used:


REM Disable Keyboard and Mouse
SET SERVICES=HKLM\SYSTEM\CurrentControlSet\Services
REG ADD %SERVICES%\kbdclass /v Start /t REG_DWORD /d 4 /f
REG ADD %SERVICES%\mouclass /v Start /t REG_DWORD /d 4 /f

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...