Opened 17 years ago
Closed 17 years ago
#699 closed Bug (Completed)
Shutdown(5) Failing
| Reported by: | Owned by: | J-Paul Mesnage | |
|---|---|---|---|
| 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 by , 17 years ago
comment:3 by , 17 years ago
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 by , 17 years ago
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 by , 17 years ago
| Milestone: | → 3.3.1.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added in version: 3.3.1.0

which OS version are they running with?
When you subt a ticket you must describe the environment you encouner the trouble.
Thanks