I'michael attempting to make a script to rename Personal computer's to their serial quantity. I'm not excellent with VB, but I've happen to be capable to place together sufficiently program code to Read through the serial quantity, but I'm not really sure where to WRITE it.
Right here's what I currently have got:
Thanks in advance for any help!
Joel Coehoorn317k9999 silver badges504504 gold badges738738 bronze badges
![How How](https://pic1.zhimg.com/v2-0d6d98ec2f50b461949bf616a0b44a40_b.jpg)
Jun 10, 2010 - We have used the same 'XP Pro Select Licence Numer' on every. WMI Script - ChangeVLKey.vbs ' ' This script changes the product key on.
consumer204085
2 Answers
You can change the personal computer name modifying the Home windows registry.use this program code with extreme extreme caution.
This code is for educational purposes just, I recommend that you make use of the SetComputerNameEx functionality and not really a screenplay to perform these jobs
RRUZ![Vbs Vbs](https://s-media-cache-ak0.pinimg.com/736x/e3/60/62/e36062d928730494783da171c12e2b6c.jpg)
125k1313 money badges313313 magic badges445445 bronze badges
I question you can change the pc name through WMI. There is usually a Home windows API call here.
Dave SwerskyDave Swersky31.7k77 platinum badges6868 magic badges109109 bronze badges