Computing.Net > Forums > Windows NT > Login Script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Login Script

Reply to Message Icon

Name: Arju
Date: February 5, 2000 at 03:54:42 Pacific
Comment:

Hi All

I use fallowing command for my login script

@echo off

ECHO Removing existing mappings,expect errors

NET USE /PERSISTENT:YES
NET USE I: /DELETE /yes
NET USE * /DELETE /yes
NET USE * /DELETE /yes

ECHO Turning off persistant drive mappings
NET USE /PERSISTENT:NO

REM Synchronize the workstation to the network Time Server.
net time \\Personal /yes /s

REM Mapping student home directory
NET USE I: /home

REM mapping share folder
NET USE * \\Personal\anti
NET USE * \\Personal\Office$

It works fin with winNT clients but doesn't work in Win95 clients. It looks like script is running when user login but doesn't do anything(i.e doesn't map drive). I run same script in win95 client machine it maps drive but it gives me erro in "/PERSISTENT" command. looks like win95 is not understanding this command. I have two server(PDC and BDC). I put this script in both server directory "c:\winnt\system32\repl\import\script" manually because I don't have replication setup. I can't understand why it is not working. I wondering if any one have any idea what going on?

I also want to check virus defination file in client machine is older than new and if it is older than I want to upgrad that file, my question is how do I do that through login script(I mean at time user login in)?

Thank you In Advance

Regards
Arju



Sponsored Link
Ads by Google

Response Number 1
Name: Philippe
Date: February 10, 2000 at 10:22:13 Pacific
Reply:

Hi! You should use the KixTart modules. It works fine with NT and 95. It allows to check group menbership, modify registry, files, ...

http://www.ntinternals.com


0

Response Number 2
Name: Philippe
Date: February 10, 2000 at 10:23:37 Pacific
Reply:

Hi! You should use the KixTart modules. It works fine with NT and 95. It allows to check group menbership, modify registry, files, ...

Oupps sorry I didn't paste the good URL :
http://netnet.net/~swilson/kix.html


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Login Script

NT4 Login script CHANGES www.computing.net/answers/windows-nt/nt4-login-script-changes/10684.html

Which comes first - run in HKey_Local_machine or the login script? www.computing.net/answers/windows-nt/which-comes-first-run-in-hkeylocalmachine-or-the-login-script/7263.html

login script for changing proxy settings www.computing.net/answers/windows-nt/login-script-for-changing-proxy-settings/13160.html