×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Problems with CHECKRAS.EXE

Problems with CHECKRAS.EXE

Problems with CHECKRAS.EXE

(OP)
We use checkras in our logon scripts (we have 60+ mobile users and 150+ static, NT4.0 SP4 or 5)
Most of the time, it works fine.

Sometimes, checkras hangs, occasionally for 10 or 15 minutes but mostly forever( until shutdown). Occasionally, the machine is unable to shutdown and we need to go for the power switch.

I have not found any reliable solution to this problem - sometimes re-application of the service pack fixes it, other times deleting the user's profile does the trick (nasty one, this!)

Has anyone any experience with this problem, or a better solution for detecting RAS logins?

Regards

Alex

RE: Problems with CHECKRAS.EXE

Use Kixtart version 3.61+.  It has a macro called @RAS.  At the top of your logon script use the following:
IF @RAS > "0" GOTO END
   ELSE
   GOTO Beginning of script
ENDIF
:BEGINNING of SCRIPT
; your usual script
:END
; RAS user, so exit the script

You should post this question on Brainbuzz under the scripts forum.  Here's the link for Kixtart
http://networking.brainbuzz.com/boards/viewboardmessages.asp,b~S2B92

Alternatively, if you wish to stay with NT shell scripting, you could use the CHOICE command and ask them if they are dialing in.
CHOICE /c:YN Are you dialing in?
IF ERRORLEVEL 1 GOTO rasuser
IF ERRORLEVEL 2 GOTO begin
:rasuser
; dial up user abort script
:begin
;normal script here

I wouldn't recommend this way because they will most likely always say Yes to avoid running the script, but it works.
Hope it helped

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close