buymeapc Posted December 14, 2005 Share Posted December 14, 2005 (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 nameChange IP and DNS infoAdd 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 DutyPC 1: xxxx xxxx xxxx xxxxPC 2: xxxx-xxxx-xxxx-xxxxC & C GeneralsPC 1: xxxx xxxxx xxxPC 2: xxxx xxxxx xxxHow 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 December 14, 2005 by buymeapc Link to comment Share on other sites More sharing options...
maxd Posted December 14, 2005 Share Posted December 14, 2005 (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 ... Don't forget to make backups Edited December 14, 2005 by maxd 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