My next project is to get a script working that will read the generic pc name given after imaging with Win7, allow input for new name, and write that data back. The machines are currently NOT on AD, but will be starting this summer.
I can read the @Computername, but am I correct that you can NOT write BACK to that value to change it? Is the only way to accomplish this is to find the reg values and write back those?
Anyone else tried this yet?
Thanks in advance
Edited: We are using Dell PC's and currently use the Service Tag as part of the ComputerName. Room# - ServiceTag. So the ST needs to be pulled from the system, and appended to the end of the computername. I have found a thread here with reg entries that I am going to try.
I can read the @Computername, but am I correct that you can NOT write BACK to that value to change it? Is the only way to accomplish this is to find the reg values and write back those?
Anyone else tried this yet?
Thanks in advance
Edited: We are using Dell PC's and currently use the Service Tag as part of the ComputerName. Room# - ServiceTag. So the ST needs to be pulled from the system, and appended to the end of the computername. I have found a thread here with reg entries that I am going to try.