How to suppress VB Script black screen prompt in PXE/Boot Image

Miriyala, Vasu 21 Reputation points
2020-09-29T16:14:13.283+00:00

Hello,

We are executing a VB Script in PXE (from Boot Image) using prestart command, it does its work well, however this throws a black screen during its execution time. We don’t want this prompt to be seen by Helpdesk people during Image. We have tried suppressing it using wscript.exe /cscript.exe //Nologo switch, but no luck.

Appreciate any pointers

Thanks, Vasu

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
901 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

13 answers

Sort by: Most helpful
  1. Jason Sandys 31,151 Reputation points Microsoft Employee
    2020-09-29T20:40:10.21+00:00

    To my knowledge, this is not directly possible as both cscript and wscript always launch a command-prompt.

    Using start with the /MIN option may allow you to launch them minimized though.

    None of this is specific to ConfigMgr though so I've added the Windows-10-general tag for other possible ideas.

    0 comments No comments

  2. Miriyala, Vasu 21 Reputation points
    2020-09-30T05:57:15.287+00:00

    Thanks Jason,

    Same script works fine on Windows 10 WKS or Windows 2012 R2 Server, without any prompts. We did lot of combinations, permutations (//B, //Nologo , removing all echos etc) to confirm all works well, prompt surfacing issue happens only when its launched in PXE / Prestart command

    Thanks, Vasu

    0 comments No comments

  3. Jason Sandys 31,151 Reputation points Microsoft Employee
    2020-09-30T14:35:00.993+00:00

    Same script works fine on Windows 10 WKS or Windows 2012 R2 Server, without any prompts.

    How are you running it to test? From a command-prompt or during a task sequence?

    0 comments No comments

  4. Miriyala, Vasu 21 Reputation points
    2020-09-30T14:47:17.877+00:00

    Running it through Prestart command feature in Boot Image
    cscript.exe Act.vbs //nologo

    0 comments No comments

  5. Jason Sandys 31,151 Reputation points Microsoft Employee
    2020-09-30T14:52:01.533+00:00

    When you run it in normal Windows, how are you running it?

    0 comments No comments