Changing local security policy via script or command line.

From: sandiyan (sandiyan_at_yahoo.co.uk)
Date: 03/31/04


Date: 31 Mar 2004 04:26:32 -0800

We'd like to add a domain account to 'log on as service' in a
machine's local security policy.
We'd like to carry this out via a script - command line. Please can
someone point me how I could go about doing this.

We'd prefer to do it this way as opposed to domain controller GPO.

Thanks,
Sandiyan.



Relevant Pages

  • Re: Logon Scripts over VPN connections
    ... What we do is to have the user cache his domain password on the computer by ... He then logs on to his domain account in order to establish ... log in again exactly as if he were connected to the network. ... However when I try to run a logon script to map ...
    (microsoft.public.scripting.vbscript)
  • Re: Encrypting VB startup script
    ... If all computers are members of the domain, and you have a domain account ... (any domain administrator member by default), you can script this remotely ... need to have access to whatever software you use to encrypt the script so ...
    (microsoft.public.windows.server.active_directory)
  • Re: Disable LPT1 script
    ... using their domain account - even with regular local user permissions, ... command manually from their computers while logged in as them, ... > work in a group policy startup script. ...
    (microsoft.public.win2000.networking)
  • Re: Join computer to a domain
    ... I'm not sure of the script or its effects, ... domain account specifically for domain joins. ... and, while you can change the number of machines a regular user can add, I ... > Should I create a special domain account for this script and where would I ...
    (microsoft.public.windows.server.scripting)
  • Re: Scheduler "Path not found" err - More info
    ... If you log in as that domain account, can you manually do the things you ... Steve Morgan wrote: ... > being used in my err logs and scheduler is runing the job under the ... > The script tries to connect to 2 locations, ...
    (microsoft.public.scripting.vbscript)