Jump to content


  • 0
Kingskawn

Batch script with progress bar?

Question

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

1 answer to this question

Recommended Posts

  • 0

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.

Guest
Answer this question...

×   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.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.