Jump to content

Workstation registry search and replace for keyword?


Recommended Posts

Guest Chad Borsheim
Posted

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

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Lanwench [MVP - Exchange]
Posted

Re: Workstation registry search and replace for keyword?

 

Chad Borsheim <ChadBorsheim@discussions.microsoft.com> wrote:

> 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


×
×
  • Create New...