Re: Login Script
From: Herb Martin (news_at_LearnQuick.com)
Date: 12/20/04
- Next message: Avil: "Security Translation using ADMT"
- Previous message: Deji Akomolafe: "Re: Login Script"
- In reply to: Deji Akomolafe: "Re: Login Script"
- Next in thread: Deji Akomolafe: "Re: Login Script"
- Reply: Deji Akomolafe: "Re: Login Script"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 19 Dec 2004 18:07:53 -0600
"Deji Akomolafe" <noemail@akomolafe.dotcom> wrote in message
news:uDSajUi5EHA.2624@TK2MSFTNGP11.phx.gbl...
> the variable is %username%. So your syntax would be:
>
> net localgroup administrators yourdomainname\%username% /ADD
>
> That would add ANY user that logs into the computer into the
administrators'
> group IF you are using Machine Startup Script through a GPO as suggested
by
> Oli. This may be something you want to do in a controlled fashion.
Sorry, this will not work as expected.
At the time that a Computer Startup Script runs, there is
NO user and the %username% variable is holds no value.
- Next message: Avil: "Security Translation using ADMT"
- Previous message: Deji Akomolafe: "Re: Login Script"
- In reply to: Deji Akomolafe: "Re: Login Script"
- Next in thread: Deji Akomolafe: "Re: Login Script"
- Reply: Deji Akomolafe: "Re: Login Script"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|