Opened 16 years ago
Closed 16 years ago
#699 closed Bug (Completed)
Shutdown(5) Failing
Reported by: | kjcdude@… | Owned by: | Jpm |
---|---|---|---|
Milestone: | 3.3.1.0 | Component: | AutoIt |
Version: | 3.2.13.11 | Severity: | None |
Keywords: | Cc: |
Description
On about 1/20 of the 600 pcs i run this script on the 2nd lat line of code fails and doesn't force restart the pc. The pc stays on as if no command to restart has been sent.
I've only seen an issue in v3.2.13.11
Last few lines of code.
status($to, "Finished - Please Wait ~10 Seconds For The Program To Close") sleep(1000) ProgressOff() Shutdown(5) Exit
Attachments (0)
Change History (5)
comment:1 Changed 16 years ago by Jpm
comment:2 Changed 16 years ago by kjcdude@…
No problem. I meant force shutdown, not restart.
Windows XP Home SP2
comment:3 Changed 16 years ago by Valik
Does the user the script is running as have the ability to shut down the PC? Is the user the script running as also the interactive user?
comment:4 Changed 16 years ago by Jpm
I am closing this ticket just adding an setting of @error to GetLastError().
If the problem occurs please check Shutdown() return value and see what the error code is.
comment:5 Changed 16 years ago by Jpm
- Milestone set to 3.3.1.0
- Owner set to Jpm
- Resolution set to Completed
- Status changed from new to closed
Added in version: 3.3.1.0
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
which OS version are they running with?
When you subt a ticket you must describe the environment you encouner the trouble.
Thanks