How to keep laptop awake when user is logged off?

B

Baboon

Hi -

Because we need to remotely access bunches of XP laptops at a time, we need
to find a way to set the power scheme to "Always On" when the user is logged
off. (We can easily use powercfg.exe in a logon script to set it properly
for logged on users.)

I have been told that the power settings for that scenario are under
HKEY_USERS\.DEFAULT, but when I set the current scheme to "3", which is
"Always On", the machine still goes into suspend mode eventually, therefore I
have to believe that is incorrect.

What I seem to have discovered is that the Power Scheme of the previously
logged on user is what stands. (I haven't tested this after a reboot though.)

Others must run into this problem. Does anyone have a solution?

Thanks.
 
D

David Shen [MSFT]

Hello Baboon,

Thank you for posting here.

According to the description, my understanding is that:

You need to find a way to set the power schema to "Always On" when the user
logs off.

If there is any misunderstanding, please feel free to let me know.

Analysis and Suggestion:
=======================

1. You may create a new user on Windows XP of the laptop.

2. Add the new user to administrators group.

3. Logon the laptop with the new user, and set the "Power Schemas" to
"Always On" in the controller panel.

4. Then log off, and log in the system with administrator credential.

5. Then copy the current user profile to the "default user" profile, an
example of the user profile is locate in "C:\Documents and
Settings\test.WINXP", the default user profile is locate in " C:\Documents
and Settings\Default User".

6. Log off the administrator then login with another user credential. All
the new user profile should be applied from the "default user".

7. Then you may logoff, and the current configuration of "power schemas"
should always be "Always on", which means that the laptop would be suspend.

Please note:

The method in this section is not an official solution, although it worked
in my test machine. I just listed it here for your reference and cannot
guarantee it will work in any scenario.

Thanks for your understanding.


David Shen
Microsoft Online Partner Support
Microsoft GTSC
 
B

Baboon

Thanks much for the quick reply.

What you said suggests that when a user logs off, the power settings of that
user will remain in effect. Can you confirm that?

If that is the case, a solution similar to this will work.
 
D

David Shen [MSFT]

Hello Baboon,

Based on my research, the solution should be work. This means that when you
log off the user with the delivery solution, the laptop should not suspend
and the
power settings of that user will remain in effect.

Please try with the solution, if you have any question, please feel free
let me know.

I'm waiting for your reply.

Thanks a lot.

David Shen
Microsoft Online Partner Support
 
B

Baboon

OK, then.
We will have a logon script that will set the Power Scheme to "Always On"
for the users of those machines. Then, whether a user is logged on or not,
the scheme will be set to "Always On".

We will test this on multiple laptops to confirm that it works as expected
for us.

Thanks for your help.
 
D

David Shen [MSFT]

Hello Baboon,

How's everything going?

I'm wondering if the suggestion has helped or if you have any further
questions. Please feel free to respond to the newsgroups if I can assist
further.

Thanks a lot.

David Shen
Microsoft Online Partner Support
 
B

Baboon

I think we are OK with this. After testing on several machines, I'll let you
know if we run into any problems.

Thanks.
 
D

David Shen [MSFT]

Hello Baboon,

Thanks for your reply.

I hope the issue will be resolved soom.

Thanks a lot.

David Shen
Microsoft Online Partner Support
 
D

David Shen [MSFT]

Dear Customer,

I'd like to check how things are going. Did you have the chance to try the
troubleshooting steps? If you have any other questions, please do not
hesitate to let me know. I look forward to your further updates.

David Shen
Microsoft Online Partner Support
 
B

Baboon

With the new CSEs, I am able to use the Power Scheme Preference item instead.
This is exactly what I needed, and the timing of the release was very good.

The only drawback was making sure all of the computers got the CSEs
installed. I found a startup script for that.

Thanks.
 
D

David Shen [MSFT]

Dear Customer,

I'm glad to hear that issue has been resolved. If you have any question,
please welcome to our newsgroup again.

David Shen
Microsoft Online Partner Support
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top