• 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.07/day)
Likes
13
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
#1
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 (1.02/day)
Likes
655
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)
#2
Lots of locations = multiple servers? Multiple OS?

Something like a sync service?
 
Joined
Feb 18, 2006
Messages
5,112 (1.17/day)
Likes
1,294
Location
AZ
System Name Thought I'd be done with this by now
Processor i7 4790K 4.4GHZ turbo currently at 4.6GHZ at 1.16v
Motherboard MSI Z97-G55 SLI
Cooling Scythe Mugen 2 rev B (SCMG-2100), stock on gpu's.
Memory 8GB G.SKILL Ripjaws Z Series DDR3 2400MHZ 10-12-12-31
Video Card(s) EVGA GTX 760 Superclocked replaced HIS R9 290 that was artifacting
Storage 1TB MX300 M.2 OS + Games, 4x ST31000524NS in Raid 10 Storage and Backup, external 2tb backup,
Display(s) BenQ GW2255 surprisingly good screen for the price.
Case Raidmax Scorpio 668
Audio Device(s) onboard HD
Power Supply EVGA 750 GQ
Software Windows 10
Benchmark Scores no one cares anymore lols
#3
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.07/day)
Likes
13
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
#4
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 (1.02/day)
Likes
655
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)
#5
Is what you are looking for not possible with a Group Policy?
 
Joined
Oct 18, 2010
Messages
183 (0.07/day)
Likes
13
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
#6
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 (1.02/day)
Likes
655
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)
#7
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.07/day)
Likes
13
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
#8
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 (1.02/day)
Likes
655
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)
#9
---

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.