Welcome to WinForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

gpupdate to refresh user policy: Access Denied error

 
   Windows XP (Home) -> XP Security Admin RSS
Next:  change settings in Guest profile  
Author Message
James Feng

External


Since: Jan 17, 2007
Posts: 1



(Msg. 1) Posted: Wed Jan 17, 2007 2:31 am
Post subject: gpupdate to refresh user policy: Access Denied error
Archived from groups: microsoft>public>windowsxp>security_admin (more info?)

I am creating a multi-desktop solution, where each desktop has its own
explorer.exe shell, which is created with different user accounts. All of
these desktops are hosted in the same "winsta0" window station of the Console
window session.
For example, if there are 2 desktops, the "Default" desktop is running
user1; "desktop2" is running user2.

If I type "gpupdate" command at user1's desktop (under user1's security
context), it will succeed in refreshing both machine and user1's user policy.
But if I type "gpupdate" command at user2's desktop (under user2's security
context), it will succeed only in refreshing machine policy, but not user2's
user policy with an Access Denied error.

I don't know why it is so. This is my guess: gpupdate (i.e. RefreshPolicy
Win32 API) will check who is the currently logged on user in this window
session(in my case, it is "user1"); if the user that you are trying to
refresh GPO is a different user, then it will reject the request?

Anyone is familiar with how gpupdate or RefreshPolicy API work? Thanks in
advance

 >> Stay informed about: gpupdate to refresh user policy: Access Denied error 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
net use Access denied error - Hello, I installed win XP pro on some compaq computer (with restore CD). Afterwards i upgraded them to service pack 2 from the net. When i try to connect users to a shared printer from these computers with the net use (net use LPT1 ..

Windows Task Scheduler: Access Denied Error - Hi, I'm trying to schedule a task to run while the computer is in stand by mode (so it will wake up and run the task). It prompts me for my password, but I don't use a password, and I am the system administrator as well as the sole user. I click ok....

ERROR 5 (0x00000005) Creating Destination Directory access.. - I am facing above mentioned porblem. Using robocopy xp010 version. When I am trying to run robocopy from client side following error is coming , only when i copy encrypted files. In normal files it working fine. Is there any issue with permissions or..

ERROR 5 (0x00000005) Creating Destination Directory access.. - I am facing above mentioned porblem. Using robocopy xp010 version. When I am trying to run robocopy from client side following error is coming , only when i copy encrypted files. In normal files it working fine. Is there any issue with permissions or..

ERROR 5 (0x00000005) Creating Destination Directory access.. - I am facing above mentioned porblem. Using robocopy xp010 version. When I am trying to run robocopy from client side following error is coming , only when i copy encrypted files. In normal files it working fine. Is there any issue with permissions or..
   Windows XP (Home) -> XP Security Admin All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows XP
 Windows Vista!
 Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]