skynet89 Posted November 30, 2016 Share Posted November 30, 2016 Hello everyone and thanks for any help. What I need is a script that I need to include the start of PC that performs these checks: 1) Search Serial Number Computer, 2) Check status Windows 7 activation 3) Windows 7 activation if the PC is not turned on. In Phase 1, the script gets the serial interface of the computer such as the one which is obtained by running the command: (wmic bios get serialnumber) In phase 2, the script checks the windows activation status for instance using the command: (slmgr / dlv) In Phase 3, if the PC is active already takes no further action, while if the activation status is in error or not activated the script will query a file to a network location that contains both serial of Computer is the Product Key windows for activation. After running the match and understand what the product key for that PC, run the activation. On the web I found a script that did this via VBS and oobe with Office driver, but this road is not passable because I have not installed on the machines office, so I need a script to run locally on all machines. Thank you all for the help ..... Link to comment Share on other sites More sharing options...
jguinch Posted November 30, 2016 Share Posted November 30, 2016 (edited) The activation of Windows can be done with slmgr /ipk <serial> /ato For the rest, you have to try by yourself and come back with your script if you have any questions Edited November 30, 2016 by jguinch mLipok 1 Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now