Question

Locked

replacing a document using active directory

By michael.t.w.gill ·
Hi all,
I need to replace a document that contains the settings for a program called TypeQuik. This needs to be replaced because the original settings no longer work. I would like to be able to do this via active directory or group policy and as such require help in writing a script to perform this file replacement. any ideas as to how to go about this would be appreciated. Am running a domain environment using Windows Server 2003 (various editions) and windows xp sp2. The active directory computer is running windows server 2003 enterprise edition sp2.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

You would be better off trying this

by Jacky Howe In reply to replacing a document usin ...

You can update all of the Workstations at once using this technique.

Create and run this from the file server. You will need 2 files. The first one is the .bat the second is a text file with a list of workstations that you need to add to in the same format.
C:\test is a folder on the File Server, place the file that you want copied in there. If the file exists on the Workstation it will be overwritten.

File 1 = copyto.bat

FOR /F " tokens=1 " %%i in (WS.txt) do copy C:\test\*.* "%%i\C$\Program Files\TypeQuik"


Put your files that you want copied into a folder EG: c:\test

File 2 = WS.txt

\\ws01.minero.local
\\ws02.minero.local

< I must be a bit slow today :) >

This is the second time that I have offerd a way to achieve this.

Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums