• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

find and replace application

Joined
Oct 18, 2010
Messages
183 (0.04/day)
Location
Walsall
Processor Intel Q6600 3.2 ghz (356 * 9)
Motherboard ASUS P5B Deluxe WIFI/AP
Cooling Corsair h60 with extra fan (push/pull)
Memory 6gb DDR2-800mhz (Kingston Blue Hyper X 2x2GB) (Kingston Ram 2x1gb) @ 5-6-6-18
Video Card(s) Nvidia Gtx 280 XFX
Storage 2 x Crucial c300 64gb ssd (raid 0) | 2 x Wd 320gb (raid 0)
Display(s) 2 x 23" AOC e2343f led monitors
Case Coolermaster Elite 430
Power Supply Powercool 750w Modular PSU
Software Windows 7 Ultimate 64bit
Hi all,

i've been struggling with a task at work for a while now,

i'm looking for a piece of software i can set to find a file across lots of locations and then replace it with a specified file, anyone got any suggestions to help a guy in need?

Any help very very very greatly appreciated! :):):):):)
 
Joined
Oct 10, 2008
Messages
3,471 (0.61/day)
System Name Acer Aspire V3-771G-53218G75Maii
Processor Core i5 3210M (2,5-3,1Ghz)
Memory 8GB DDR3 SODIMM
Video Card(s) Geforce GT650M
Storage Samsung 830 256GB - 750GB Toshiba drive
Software Windows 7 x64 Home Premium (non-acer-bloatware)
Lots of locations = multiple servers? Multiple OS?

Something like a sync service?
 
Joined
Feb 18, 2006
Messages
5,147 (0.78/day)
Location
AZ
System Name Thought I'd be done with this by now
Processor i7 11700k 8/16
Motherboard MSI Z590 Pro Wifi
Cooling Be Quiet Dark Rock Pro 4, 9x aigo AR12
Memory 32GB GSkill TridentZ Neo DDR4-4000 CL18-22-22-42
Video Card(s) MSI Ventus 2x Geforce RTX 3070
Storage 1TB MX300 M.2 OS + Games, + cloud mostly
Display(s) Samsung 40" 4k (TV)
Case Lian Li PC-011 Dynamic EVO Black
Audio Device(s) onboard HD -> Yamaha 5.1
Power Supply EVGA 850 GQ
Mouse Logitech wireless
Keyboard same
VR HMD nah
Software Windows 10
Benchmark Scores no one cares anymore lols
is this a full find and replace as in you don't know where all the locations are?

or would a sync service work as thrackan suggested?

in the server realm we always opt for automated processes over manual so I just have to replace 1 file on the main and all 2000 others that I manage get it.

but if you don't know where it is then it's going to be difficult to go accross multiple systems.

Is this related to a program? is there a database that's associated with that program? because that would be far simpler than a generic find and replace.
 
Joined
Oct 18, 2010
Messages
183 (0.04/day)
Location
Walsall
Processor Intel Q6600 3.2 ghz (356 * 9)
Motherboard ASUS P5B Deluxe WIFI/AP
Cooling Corsair h60 with extra fan (push/pull)
Memory 6gb DDR2-800mhz (Kingston Blue Hyper X 2x2GB) (Kingston Ram 2x1gb) @ 5-6-6-18
Video Card(s) Nvidia Gtx 280 XFX
Storage 2 x Crucial c300 64gb ssd (raid 0) | 2 x Wd 320gb (raid 0)
Display(s) 2 x 23" AOC e2343f led monitors
Case Coolermaster Elite 430
Power Supply Powercool 750w Modular PSU
Software Windows 7 Ultimate 64bit
It's across Windows XP and Windows Server 2003, the file is sitting in the profiles of all of the users on the network, all 1200 of them. So a find and replace utility would be best so that I can run it on each of the 6 servers and set it to replace the file.
 
Joined
Oct 10, 2008
Messages
3,471 (0.61/day)
System Name Acer Aspire V3-771G-53218G75Maii
Processor Core i5 3210M (2,5-3,1Ghz)
Memory 8GB DDR3 SODIMM
Video Card(s) Geforce GT650M
Storage Samsung 830 256GB - 750GB Toshiba drive
Software Windows 7 x64 Home Premium (non-acer-bloatware)
Is what you are looking for not possible with a Group Policy?
 
Joined
Oct 18, 2010
Messages
183 (0.04/day)
Location
Walsall
Processor Intel Q6600 3.2 ghz (356 * 9)
Motherboard ASUS P5B Deluxe WIFI/AP
Cooling Corsair h60 with extra fan (push/pull)
Memory 6gb DDR2-800mhz (Kingston Blue Hyper X 2x2GB) (Kingston Ram 2x1gb) @ 5-6-6-18
Video Card(s) Nvidia Gtx 280 XFX
Storage 2 x Crucial c300 64gb ssd (raid 0) | 2 x Wd 320gb (raid 0)
Display(s) 2 x 23" AOC e2343f led monitors
Case Coolermaster Elite 430
Power Supply Powercool 750w Modular PSU
Software Windows 7 Ultimate 64bit
We tried with group policy, but because we are running an RM CC3 network which has lots of extra security policys on it and lots of pretty interfaces for doing things we can't get it to work through GPO's.
 
Joined
Oct 10, 2008
Messages
3,471 (0.61/day)
System Name Acer Aspire V3-771G-53218G75Maii
Processor Core i5 3210M (2,5-3,1Ghz)
Memory 8GB DDR3 SODIMM
Video Card(s) Geforce GT650M
Storage Samsung 830 256GB - 750GB Toshiba drive
Software Windows 7 x64 Home Premium (non-acer-bloatware)
You might be able to do it with a batch/powerscript, but you would need a list of hosts, and those profiles need to be accessible from the network.

Then basically script the following in a foreach loop, iterating your list of hosts:
- do a find in \\$HOST\$PROFILEDIR\ for the filename
- copy file to each found path
 
Joined
Oct 18, 2010
Messages
183 (0.04/day)
Location
Walsall
Processor Intel Q6600 3.2 ghz (356 * 9)
Motherboard ASUS P5B Deluxe WIFI/AP
Cooling Corsair h60 with extra fan (push/pull)
Memory 6gb DDR2-800mhz (Kingston Blue Hyper X 2x2GB) (Kingston Ram 2x1gb) @ 5-6-6-18
Video Card(s) Nvidia Gtx 280 XFX
Storage 2 x Crucial c300 64gb ssd (raid 0) | 2 x Wd 320gb (raid 0)
Display(s) 2 x 23" AOC e2343f led monitors
Case Coolermaster Elite 430
Power Supply Powercool 750w Modular PSU
Software Windows 7 Ultimate 64bit
You might be able to do it with a batch/powerscript, but you would need a list of hosts, and those profiles need to be accessible from the network.

Then basically script the following in a foreach loop, iterating your list of hosts:
- do a find in \\$HOST\$PROFILEDIR\ for the filename
- copy file to each found path


---

Problem we've got is that the powers above us, want it doing yesterday!!!!!!

We were looking at something like "Global Find" but that only does text.
 
Joined
Oct 10, 2008
Messages
3,471 (0.61/day)
System Name Acer Aspire V3-771G-53218G75Maii
Processor Core i5 3210M (2,5-3,1Ghz)
Memory 8GB DDR3 SODIMM
Video Card(s) Geforce GT650M
Storage Samsung 830 256GB - 750GB Toshiba drive
Software Windows 7 x64 Home Premium (non-acer-bloatware)
---

Problem we've got is that the powers above us, want it doing yesterday!!!!!!

We were looking at something like "Global Find" but that only does text.

That's not a problem, that's what they always want. Ignore that as much as you can.

Either way, a simple batch of powerscript should be able to do what you want.
 
Top