vtivti
02-12-2009, 04:20 AM
HI guys, Im soooooo stuck. I wish I could write loops properly!
In a HKusers\{SID}\Software\Microsoft\Terminal Server Client\Usernamehint\
A load of work keys
pc1 local\user1
pc2 local\user2
pc3 local\user3
pc4 local\user4
pc5 local\user5
I need to loop through all of these and change the domain local to a new domain name.
In the project I will just put in the machine name, it will then parse the registry to teh correct key, adn then change all teh affected keys, but I just cant get it to loop!
Help!
Thanks
In a HKusers\{SID}\Software\Microsoft\Terminal Server Client\Usernamehint\
A load of work keys
pc1 local\user1
pc2 local\user2
pc3 local\user3
pc4 local\user4
pc5 local\user5
I need to loop through all of these and change the domain local to a new domain name.
In the project I will just put in the machine name, it will then parse the registry to teh correct key, adn then change all teh affected keys, but I just cant get it to loop!
Help!
Thanks