hi, please can you tell me why tihs script not work.
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm "W7_159" acpipowerbutton
the vmashine make no reaktion.
what is wrong? please can someone help me?
thx
acpipowerbutton windows 7 or windows 10 not posible
-
- Posts: 12
- Joined: 27. Jul 2019, 18:43
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: acpipowerbutton windows 7 or windows 10 not posible
The command line you posted looks good.
The guest OS must be set to respond to the "power button" in its power settings, then the command should work.
Assuming a Windows 7 guest, go to Control Panel, Power Options, "Choose what the power button does".
It could also be possible that Guest Additions need to be installed in the guest.
The guest OS must be set to respond to the "power button" in its power settings, then the command should work.
Assuming a Windows 7 guest, go to Control Panel, Power Options, "Choose what the power button does".
It could also be possible that Guest Additions need to be installed in the guest.
-
- Posts: 12
- Joined: 27. Jul 2019, 18:43
Re: acpipowerbutton windows 7 or windows 10 not posible
Hi scottgus1, thak you for your post. Guest Additions is installed. But the Control Panel, Power Options the power button is disabled, its crazy. can I insert a picture here?
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: acpipowerbutton windows 7 or windows 10 not posible
Pictures can be cropped & resized to fit the forum's 128kB size limit, then attached using the forum's Upload Attachment tab. PNG is the best format.
-
- Posts: 12
- Joined: 27. Jul 2019, 18:43
Re: acpipowerbutton windows 7 or windows 10 not posible
if i take the virtualbox gui the power button is correct, i go to the machine with remote desktop rdp the power button is deactivated.
-
- Posts: 12
- Joined: 27. Jul 2019, 18:43
Re: acpipowerbutton windows 7 or windows 10 not posible
sorry im wrong. the powerbutton is correct ind rdp session. than im understand why acpipowerbutton not work.
- Attachments
-
- 2020-01-21 20_51_09.png (26.29 KiB) Viewed 1733 times
-
- 2020-01-21 20_49_51.png (1.27 KiB) Viewed 1733 times
-
- Posts: 12
- Joined: 27. Jul 2019, 18:43
Re: acpipowerbutton windows 7 or windows 10 not posible
even crazier, sometimes the power button activ sometimes is not activ. I'm going crazy
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: acpipowerbutton windows 7 or windows 10 not posible
Looks like you have to click the "Einige Einstellungen" link to ask for admin privileges, then the dropdown should be active. Apparently "hereunterfahren" means "shut down" so it should be set right.
Look in the Event Viewer, and google "why doesn't my Windows 7 PC turn off when I touch the power button" or something like that.
Look in the Event Viewer, and google "why doesn't my Windows 7 PC turn off when I touch the power button" or something like that.
-
- Posts: 12
- Joined: 27. Jul 2019, 18:43
Re: acpipowerbutton windows 7 or windows 10 not posible
ok, thank you