Sign in to follow this  
Followers 0
buymeapc

Configure certain parts on a PC?

2 posts in this topic

#1 ·  Posted (edited)

I am making an attempt at creating a script to configure a PC and I need some help.

I am trying to do the following things:

Change PC name

Change IP and DNS info

Add in the correct cd keys for games (below)

Here comes the hardest part (at least I think it is):

I have a text file with all the cd keys for all the games I have for all the PCs I own.

It looks like:

Call of Duty

PC 1: xxxx xxxx xxxx xxxx

PC 2: xxxx-xxxx-xxxx-xxxx

C & C Generals

PC 1: xxxx xxxxx xxx

PC 2: xxxx xxxxx xxx

How do I copy the correct cd key to the correct place in the registry using an AutoIT script?

If more detail is needed, please let me know and I will provide it...

Thanks

Edited by buymeapc

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Change PC name

Change IP and DNS info

Add in the correct cd keys for games (below)

pc name

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ComputerName", "ComputerName", "REG_SZ", "KGB007")

search in registry and ... :P Don't forget to make backups

Edited by maxd

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0