RE: Batch File using Powercfg.exe Won't Run



Hello Baboon,

Thank you for your post. This is George and I will be assisting you in this
post.

Based on your information, I understand that you want to use a startup
script to automatically change Windows XP computers' power configuration
through Group Policy. However, when users log on these Windows XP
computers, the power configuration doesn't change.

If anything is unclear, please feel free to let me know.

Let us make sure what causes this issue together.

Analysis and suggestions:
=========================

1. We should apply this script to "User Configuration" rather than
"Computer Configuration".

Please note, Power Schemes are configured on a per-user basis. So this
policy will not work if it is applied to "Computer Configuration".

After doing this, please make sure again this policy applies when user logs
on these Windows XP computers.

We can check if policies apply by using RSoP. For details about this,
please refer to:

How To Install and Use RSoP in Windows Server 2003:
http://support.microsoft.com/kb/323276/en-us

2. Make sure users who will log on these Windows XP computers have proper
permissions.

Power configuration may require some special permissions. This requires
local computer administrator or system privileges. For details about this,
please refer to:

How to use Powercfg.exe to create a Group Policy object for power schemes
in Windows XP:
http://support.microsoft.com/kb/915160/en-us

3. Please note, some policies won't work until we log on to computers the
second time.

To ensure these scripts apply, after the first time we log on to the
Windows XP computers, we can run "gpupdate /force" in a command prompt. We
log off, and then we log on again.

If anything is unclear or if this issue remains, please feel free to let me
know.

I look forward to your reply.

Thank you!

Sincerely,
George Yin
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • RE: Deploy SP2 with Active Directory and GPOs?
    ... In a Windows 2000 or Windows 2003 based domain, ... Group Policy is stored as part of Active ... publish programs to users or computers in the Windows 2000 or Windows 2003 ... After the installation files have been prepared, ...
    (microsoft.public.windowsxp.general)
  • Re: 2000 Server with XP Clients -- Policy problem
    ... Is there an idiots guide to setting up Group policy for domain users ... I can do it in Windows 2003 without any problems, ... Open Active Directory Users and Computers ... I see that for Windows XP clients working off a Windows 2000 server one ...
    (microsoft.public.win2000.group_policy)
  • Re: Group policy issue
    ... unfortunately they are people, not computers. ... you will see on unapplied GPO list, but is applied on computers and you ... MCSA Windows 2003 server ... Applied Group Policy Objects ...
    (microsoft.public.windows.server.networking)
  • Re: 2000 Server with XP Clients -- Policy problem
    ... machine and is being pointed to from the clients. ... Is there an idiots guide to setting up Group policy for domain users ... I can do it in Windows 2003 without any problems, ... Open Active Directory Users and Computers ...
    (microsoft.public.win2000.group_policy)
  • XP firewall settings not applied correctly by Group Policy
    ... I'm using Group Policy to push out Windows firewall settings to our client ... All servers are Windows Server 2003 with the latest GPMC ... Most computers adopt the policy well and it works fine. ...
    (microsoft.public.windows.group_policy)