Search the Community
Showing results for tags 'prompt'.
Alright guys I need some insight. I have been asked to come up with a way to clean a drive (using diskpart) during PE before the OSD password is entered. Now the catch is there has to be a way to opt out. Basically the powers that be want a pop-up that says "Do you want to clean the drive" with yes and no buttons. Now I know I can create a custom media hook and edit the boot.wim to run a script that will clean the drive but like I said, it needs it to prompt the end user. I'm really hoping someone out there has something similar or can point me in the right direction. Environment: SCCM 2
Hello, I have trouble getting a VBS script to work in SCCM 2012, this script worked without problems in sccm in 2007. It is used when we want to install an operating system to harddrive to be installed to another computer of the same model. In Task sequence it runns before "Apply Operating System". The Command Line: cscript.exe %deployroot%\scripts\EnterComputerName.vbs Here is the script: 'Code Snippet Dim env, objRegEx Dim Matches, Match Dim strPattern, strInputBox, strReason Dim boolLength, boolValid Set ProgressUI = CreateObject("Microsoft.SMS.TsProgressUI") Progress