Hi everyone :)
This is my first question here. I'm looking for ideas because I have hit a wall. I need to rename 1500 computers (all are domain members). You already see where this is going - mass rename would be devastating for users that have mapped connections to printers shared on other computers. My initial idea was to use a script and rename all 1500 computers in one go. But hundreds of users not being able to print would mean riots.
So far I have been unable to figure out a way to re-map or update the user's existing printer mappings in accordance with the new names of computers. Since mapped printer connections are stored in the registry, I was thinking of exporting "HKCU\Printers\Connections" key, updating the exported file with a script and importing it back. This is how an export looks like:
[HKEY_CURRENT_USER\Printers\Connections\,,computer123,HP LaserJet 4L]
The script would need to add a prefix to "computer123", save the file and import it into the registry. Is there any way this could be done?
Any other suggestions on how to approach this problem?
Many thanks :)