Cheers chaps;
"echo y|chkdsk c: /f" just made the command prompt window sit there with a flashing cursor for ages while everything else around it stopped responding. " c:\windows\system32\chkdsk /r |y" doesnt appear to work at all Any others? -- G2 Support Network Support : Online Backups : Server Management Web: www.g2support.com Twitter: g2support<http://twitter.com/home?stat...@g2support> Newsletter: www.g2support.com/newsletter<http://www.g2support.com/newsletter> From: James Rankin [mailto:kz2...@googlemail.com] Sent: 10 May 2010 10:05 To: NT System Admin Issues Subject: Re: Remotely scheduling chkdsk /f 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 <oliver.marsh...@g2support.com<mailto:oliver.marsh...@g2support.com>> 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 [cid:image002.png@01CAF02D.89277720] Network Support Online Backups Server Management Tel: 0845 307 3443 Email: oliver.marsh...@g2support.com<mailto:oliver.marsh...@g2support.com> Web: http://www.g2support.com<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/> ~
<<inline: image001.jpg>>
<<inline: image002.png>>