PC Review


Reply
Thread Tools Rate Thread

Can i deny some login with logon script ?

 
 
max chen
Guest
Posts: n/a
 
      19th Dec 2003
Hello

I want to deny some login of terminal users if the name of client PC
is not in the list.

How to write the logon script to do this?

Plz help, i am an newbird.

Thank u very much.

max.
email: (E-Mail Removed)


 
Reply With Quote
 
 
 
 
Vera Noest [MVP]
Guest
Posts: n/a
 
      19th Dec 2003
For a normal domain logon:

IF %COMPUTERNAME% == XXXXX logoff.exe

For logon to a Terminal Server:

IF %CLIENTNAME% == XXXXX logoff.exe

--
Vera Noest
MCSE,CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
*----------- Please reply in newsgroup -------------*

max chen <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> Hello
>
> I want to deny some login of terminal users if the name of
> client PC is not in the list.
>
> How to write the logon script to do this?
>
> Plz help, i am an newbird.
>
> Thank u very much.
>
> max.
> email: (E-Mail Removed)
>

 
Reply With Quote
 
max chen
Guest
Posts: n/a
 
      19th Dec 2003


Thank u very much. You do save me.

Is there an easy way to got client pc MAC address ?



在 Fri, 19 Dec 2003 03:30:48 -0800 时, "Vera Noest [MVP]"
<(E-Mail Removed)> 写了:

>For a normal domain logon:
>
>IF %COMPUTERNAME% == XXXXX logoff.exe
>
>For logon to a Terminal Server:
>
>IF %CLIENTNAME% == XXXXX logoff.exe
>
> --
>Vera Noest
>MCSE,CCEA, Microsoft MVP - Terminal Server
>http://hem.fyristorg.com/vera/IT
>*----------- Please reply in newsgroup -------------*
>
>max chen <(E-Mail Removed)> wrote in
>news:(E-Mail Removed):
>
>> Hello
>>
>> I want to deny some login of terminal users if the name of
>> client PC is not in the list.
>>
>> How to write the logon script to do this?
>>
>> Plz help, i am an newbird.
>>
>> Thank u very much.
>>
>> max.
>> email: (E-Mail Removed)
>>


 
Reply With Quote
 
Mark Mancini
Guest
Posts: n/a
 
      20th Dec 2003
you can block by username and computer name but not by MAC

--
Sincerely,
Mark Mancini, CCA, CCNA, Master CIW&CI, CNE 4&5, MCSE+I 4&2000
www.MCSE2000.com
www.AppLauncher.com



"max chen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>
> Thank u very much. You do save me.
>
> Is there an easy way to got client pc MAC address ?
>
>
>
> ? Fri, 19 Dec 2003 03:30:48 -0800 ?, "Vera Noest [MVP]"
> <(E-Mail Removed)> ??:
>
> >For a normal domain logon:
> >
> >IF %COMPUTERNAME% == XXXXX logoff.exe
> >
> >For logon to a Terminal Server:
> >
> >IF %CLIENTNAME% == XXXXX logoff.exe
> >
> > --
> >Vera Noest
> >MCSE,CCEA, Microsoft MVP - Terminal Server
> >http://hem.fyristorg.com/vera/IT
> >*----------- Please reply in newsgroup -------------*
> >
> >max chen <(E-Mail Removed)> wrote in
> >news:(E-Mail Removed):
> >
> >> Hello
> >>
> >> I want to deny some login of terminal users if the name of
> >> client PC is not in the list.
> >>
> >> How to write the logon script to do this?
> >>
> >> Plz help, i am an newbird.
> >>
> >> Thank u very much.
> >>
> >> max.
> >> email: (E-Mail Removed)
> >>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling webpage with logon script, logon script wont close gerryR Microsoft Windows 2000 CMD Promt 16 6th Nov 2009 05:19 PM
User Logon not processing Login Script after password change =?Utf-8?B?RG9uIFJ5YW4=?= Windows XP General 3 28th Mar 2005 04:17 AM
Deny login =?Utf-8?B?TWFyayBHcm92ZXI=?= Microsoft Windows 2000 1 20th Oct 2004 03:43 PM
Logon Login Script Chuck Microsoft Frontpage 3 29th Aug 2004 12:27 AM
Logon Script/Terminal Server Logon Script Don Jones Microsoft Windows 2000 Networking 5 6th Apr 2004 11:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 PM.