Hello,
I know a script like this must exist out there, but I have been unable to find it through searching.
What I'm looking for is a script that will run as a machine start up script, check the license activation status (Win 7 Ent), and if already activated do nothing, but if not activated, run the command line - slmgr.vbs /ato
I have zero script knowledge and my feeble attempts to write a .bat using the IF condition fail miserably.
If you have a link to a script or know what the syntax should be for a statement that asks "is Windows activated?" to create such a .bat, I would be extremely grateful.
Thanks in advance.