Search 200 workstations and Replace a file, via script or other process?????
Hi, I'm just throwing this one out there for advise. I have around 200 workstations that have a web url on the all users desktop or users favorites and I need to change the web address. I have a modified URL to replace the offending file but how do I get it out there.
I thought maybe there might be a way to script, search c$ for any instances of the file "example.url" and replace with a new file.
I have SCCM 2012, I've modified the software inventory to identify the organisations workstations with the url but its in several locations on many of the pc's, i've created a collection for the job.
Any advise on a method to execute change would be much appreciated
Community Chosen Answer
You can start with the delete script from http://www.itninja.com/question/vbscript-to-search-for-and-delete-file to get rid of the old.url, run this from an msi as custom action and create the new url in a later action.