Clearing "Installed product key successfully message" through cmd line


  1. Posts : 1
    Windows 10 Enterprise
       #1

    Clearing "Installed product key successfully message" through cmd line


    I'm deploying our Windows 10 company image through MDT. One of the steps i do is enter the windows key through a command line custom task. The problem I run into is that I keep getting the "Installed product key successfully message" dialog box to come up which stalls the rest of my task sequence and forces user intervention.


    The command line I'm using - which I thought would prevent any confirmation boxes - is:

    slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /VERYSILENT /SUPPRESSMSGBOXES


    Unfortunately this doesn't seem to work. Does anyone have any suggestions on how I can clear this message automatically, suppress it from even popping up or if I'm doing something wrong, what the correct command is?


    Any help would be appreciated.


    Thanks
      My Computer

  2. NavyLCDR's Avatar
    Posts : 13,233
    Windows 10 Pro
       #2

    I'm not seing the /verysilent /suppressmsgboxes in the slmgr /? help window.

    What about adding '>C:\temp.txt' without the quotes to the end to dump the message to a text file then delete the text file?
      My Computer

  3. Ztruker's Avatar
    Posts : 10,269
    Windows 10 Pro X64 1909 18363.815
       #3

    Can you still pipe output to NULL like you could in DOS?

    If so, slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX > NULL may work.
      My Computers


 

Related Threads
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 06:55.
Find Us




Windows 10 Forums