Skip navigation
4641 Views 3 Replies Latest reply: Aug 5, 2009 9:13 AM by zman RSS
Rookie 36 posts since
Mar 18, 2009

Has received 1 of 9 achievements.
Currently Being Moderated

Aug 4, 2009 7:31 AM

How to perform check disk when winpe provisioning

I build a provisioning task to use ghost v11 to backup user's whole harddisk, and do check disk on c:, I use chkdsk /r c:, but the parameter /r need user input "Y" to confirm, it seemed that LANDesk can not do it. I think autoit can do this.I write a Autoit script,but it not worked.A cmd windows popup,perform the chkdsk,but not recieve the "Y" to confirm,so it is pending in winpe.I think the popup cmd window not active,the "Y" send to where I don't know. Who can help me to perfect this script?

 

Run("chkdsk c: /r")

SendKeepActive("x:\i386\system32\chkdsk.exe")
Sleep(2000)
send("{Y 1}{enter 1}")
Sleep(2000)
send("{Y 1}{enter 1}")
Sleep(2000)
send("{Y 1}{enter 1}")

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 20 points
  • Helpful Answers - 10 points
LANDESK Community powered by Jive SBS® 4.5.7.1  |  Legal Notices  |  Privacy Policy  |  Icon 

TweeterOn Twitter  |  Icon FacebookOn Facebook © 2007 LANDESK Software