Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

activate Windows 10 with vbs script

have old image. haven't time to update yet. For what I have, Win 10 needs activation. Initially I just added a command slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (of course I removed) It worked, but never came back as completed. That was OK when I set the timeout low and continue on error, but I wanted to fix what was broken.. I added a vbs file to the repository. It now comes back with error ActivateWin10.vbs returned error code 1. remote repair comes back clean, 4 green checks. Install file is in the repository no parameters command line cscript.exe //b "ActivateWin10.vbs" conditions all, arch 32/64, powershell version all, logged on state always run success codes 0,1641,3010,2359302 I tried runas interactive and it fails the same. PDQ deploy 17.1.0.0 Enterprise mode

This is a simple error to fix and I am just missing something simple, right?

0

Comments

2 comments
Date Votes
  • cscript.exe c:\windows\system32\slmgr.vbs /ipk [key]

    cscript.exe c:\windows\system32\slmgr.vbs /ato

    0
  • blushing. What threw me is that it actually activated windows without coming back as successful. Many thanks

    0