What exit code applies to Microsoft's licensing VBS applet SLMGR?
I am trying to use
slmgr -ipk 67YRR-JYR7R-H7RJR-RGRV2-R7RWR
(not the real code)
in a COMMAND step. The step is succeeding (I can see the target machine has the new key and it is activated) but PDQ sits on that command endlessly.
I THINK the issue is that it does not see a success code from that command so it just keeps running. I have a 0 in the SUCCESS CODE field but that is apparently not doing it.
If I can't figure this out I will just set PDQ to time out after 3 minutes (usually takes 30 seconds), but that is not a pretty work around.
Your thoughts would be greatly appreciated.
Please sign in to leave a comment.