Have you tried using psexec to send the command, either with a /y on the
end, or by using an *echo *command to send the y?

e.g. *echo y|chkdsk c: /F /R*

On 10 May 2010 09:31, Oliver Marshall <[email protected]> wrote:

>  Hi chaps,.
>
>
>
> Does anyone know of a way that we can remotely force a workstation to run a
> full chkdsk on the next reboot? We have a variety of remote tools which can
> run scripts and edit this and that, but the issue we have is that we can't
> initiate "chkdsk c: /f" remotely as the script sits there wanting someone to
> press Y to tell it to run on the next reboot.
>
>
>
> Is there a way we can, perhaps, edit the boot files directly to tell them
> run a chkdsk c: /f?
>
>
>
> CHKDSK itself must be editing something to have it run at next reboot and
> I'm hoping we can edit this directly.
>
>
>
> Olly
>
>
>
>
>
>    Network Support
> Online Backups
> Server Management
>
> Tel: 0845 307 3443
>
> Email: [email protected]
>
> Web: http://www.g2support.com
>
> Twitter: g2support <http://twitter.com/home?stat...@g2support>
>
> Newsletter: http://www.g2support.com/newsletter
>
> Mail: 2 Roundhill Road, Brighton, Sussex, BN2 3RF
>
>
>
> G2 Support LLP is registered at Mill House, 103 Holmes Avenue, HOVE
>
> BN3 7LE. Our registered company number is OC316341.
>
>
>
>
>
>


-- 
"On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into
the machine wrong figures, will the right answers come out?' I am not able
rightly to apprehend the kind of confusion of ideas that could provoke such
a question."

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

<<g2supportsmall_250x58borderbb3.png>>

<<personal21eb.jpg>>

Reply via email to