Re: Refreshing Local Security Policy changes without relogon
From: Garfield Lewis (galewis_at_SPAM-NO-MOREca.ibm.com)
Date: 06/27/05
- Next message: Pablo J. Royo: "Pfx personal certificate in smartphone?"
- Previous message: Sara Fonseca: "Sign a activex control"
- In reply to: Matthew Townsend: "Refreshing Local Security Policy changes without relogon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 27 Jun 2005 10:30:45 -0400
Have you tried ImpersonateSelf?
-- Garfield A. Lewis DB2 UDB Development, IBM Canada Laboratory "Matthew Townsend" <MatthewTownsend@discussions.microsoft.com> wrote in message news:259A5003-64CB-4D68-968C-161A06F1E757@microsoft.com... > I have implemented a change to the "Load and Unload Device Drivers" > (SeLoadDriverPrivilege) setting and need it to take affect immediately so > that I can perform an operation and then change it back. The problem is that > after I make the change it does not take affect until the user logs off and > then back on again. I have tried gpupdate but that seems to have no affect. > I do know that the policy is being changed properly because I can see it in > the security settings. How do I get this to take affect for the currently > logged on limited user without making them log out and then back in? Oh, I > am making the change from a Service that is running as SYSTEM. The change is > that I grant access to the setting to "Everyone". > Thanks. > > If this can't be done I will just move the device enable / disable code into > the service but I would rather use the current solution as it is already > finished except for the refresh. > > -- > Matthew Townsend
- Next message: Pablo J. Royo: "Pfx personal certificate in smartphone?"
- Previous message: Sara Fonseca: "Sign a activex control"
- In reply to: Matthew Townsend: "Refreshing Local Security Policy changes without relogon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]