Thanks Vikpaw
the problem is that the redirect line appears and this stops my automated tasks.
I have not a copy but it is usually like this:-
[sIMSConnection]
Redirect=S:\Sims
ServerName=servername\SIMS2008
DatabaseName=sims
as regards the read only getting overwritten, it has to be some sort of system or local admin which has the rights to do that, but it seems to happen