Workstation registry search and replace for keyword?

C

Chad Borsheim

Does anyone know how I can do a complete workstation registry search and
replace based on a keyword.

We migrated to a new file and print server and in every workstation registry
is the old file server name all over the place.
I ideally would like to just replace the old server name "w2afpsys000" with
the new name "w3sfp1" in the registry.

Thanks
Chad
 
L

Lanwench [MVP - Exchange]

Chad Borsheim said:
Does anyone know how I can do a complete workstation registry search
and replace based on a keyword.

We migrated to a new file and print server and in every workstation
registry is the old file server name all over the place.
I ideally would like to just replace the old server name
"w2afpsys000" with the new name "w3sfp1" in the registry.

Thanks
Chad

Ooh, I'd be terrified of running anything that *could* do that. Bad idea.

Are you running AD? (and if not, why....)

I'm not sure where in the registry you're thinking the name of the old
server will be a problem, but your users should be using login scripts (via
a batch file in the start menu, even) to assign drive letters, instead of
UNC paths.

net use * /del
net use x: \\server\share /persistent:no
net use y: \\server\othershare /persistent:no

And you should be able to connect them to the new printers easily enough.
Look at con2prt.exe from the resource kit - you can use it in a batch file.

http://support.microsoft.com/kb/181663
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top