Re: Setting Act As Part of Operating System - VBScript
From: Roger Abell (mvpNOSpam_at_asu.edu)
Date: 02/26/05
- Next message: Roger Abell: "Re: Force users to use the same profile"
- Previous message: megascout29: "Re: Hacked Workstations"
- In reply to: Jason: "Re: Setting Act As Part of Operating System - VBScript"
- Next in thread: Herb Martin: "Re: Setting Act As Part of Operating System - VBScript"
- Reply: Herb Martin: "Re: Setting Act As Part of Operating System - VBScript"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Feb 2005 18:11:17 -0700
I will also say that this sounds like a bad thing to do.
That said, there is no direct way to grant user rights to accounts
from script in Windows 2000 and later. You can however
shell out to an execution of such as NTrights.exe from the
resource kit. User Rights are policies, and there is no script
interface for setting the values of policies.
-- Roger Abell Microsoft MVP (Windows Security) MCSE (W2k3,W2k,Nt4) MCDBA "Jason" <Jason@discussions.microsoft.com> wrote in message news:ACF5AD77-66DA-4135-95A9-FA9B9ED759DB@microsoft.com... > I only want it for one user. How do I do this in VBScript? Once again I'm a > newbie to VBScripting. > > "Herb Martin" wrote: > > > "Jason" <Jason@discussions.microsoft.com> wrote in message > > news:8ACA55EB-0E77-4123-89E2-0C237A46D8E8@microsoft.com... > > > I would like to be able to set any given user that I just created to have > > the > > > right "Act as part of the operating system" using a VBSCript. I'm a > > complete > > > newbie to VBScripting and I'm told this would be the only way to get this > > > functionality into my installshield. Any suggestions? > > > > Sounds like a bad idea but you can give this right > > to a user or group (where you create the security > > principal.) > > > > A Group Policy can also do this. > > > > -- > > Herb Martin > > > > > > > >
- Next message: Roger Abell: "Re: Force users to use the same profile"
- Previous message: megascout29: "Re: Hacked Workstations"
- In reply to: Jason: "Re: Setting Act As Part of Operating System - VBScript"
- Next in thread: Herb Martin: "Re: Setting Act As Part of Operating System - VBScript"
- Reply: Herb Martin: "Re: Setting Act As Part of Operating System - VBScript"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|