Closed Lid do nothing win 10

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
vadocit
Posts: 10
Last visit: Thu Oct 19, 2023 8:19 am

Closed Lid do nothing win 10

Post by vadocit »

Help with closing lid " do nothing "

I have look and haven't found nothing on how to change the Close lid action to do nothing running el powershell scrip

any help will be appreciated

thanks in advance
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Closed Lid do nothing win 10

Post by jvierra »

Power settings can be changed with this utility.
powercfg /?
User avatar
vadocit
Posts: 10
Last visit: Thu Oct 19, 2023 8:19 am

Re: Closed Lid do nothing win 10

Post by vadocit »

Got it thanks

powercfg -SETACVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 000
powercfg -SETDCVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 000
This topic is 6 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked