Skip to content

Tool Release - Ask for Password for Task Sequence from within Windows Full

Featured Replies

Hey guys,

 

Thought it was time to give back a little bit with all the help and information I've gotten here.

 

We have SCCM in our environment with about 40 apps and 3 different OS deployments. And we were worried that users would kick off their own OS installs. To that end, we created a little app that asks for a password. And I'm sharing it, and the steps to use it, and hide the ts, run under user context, and make it go. This will work for any task sequence really.

 

Passprompt.exe is the app and it takes whatever password that you define in it. Example. PassPrompt.exe MyP4ssword would look for the password of MyP4ssword

Hide.vbs closes the task sequence progress bar so the window pops to the forefront

Serviceui.exe runs it under the users context so whomever opens it can interact with the windows instead of it being invisible to the user

Run.bat puts all togethor

 

 

 

You edit what you are looking for in the run.bat

 

The attached zip contains

 

wWEWxjC.png

 

 

Make a package that contains those files after you have edited the run.bat for your required password and systemui.exe architecture. and distribute it to your distribution points.

 

Add the following run command line step to your task sequence referencing the package you just made.

 

Ae0s8FH.png

 

Now you get the following when you try to run a task sequence from within windows

 

M15ZZdH.png

 

 

 

 

 

Enter the wrong password and you get

 

6Z9cluo.png

 

 

 

Cancel the password window and you get

X5lvRcD.png

 

 

 

 

 

Hopefully these tools will help you keep your users from running OS deployments from within software center

Password Check.zip

Join the conversation

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

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.