General discussion

Locked

Windows NT and 2000 script

By cwleng ·
I'm intereted on setting logon script to every one of my user which is using and running on Windows 98 and NT.Can you show or provide me some windows logon script that i can set on my user,for example that every user of my will automatically map to a network drive when their logon to my NT domain.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Windows NT and 2000 script

by c0nv1ct04 In reply to Windows NT and 2000 scrip ...

In order to do this you will have to use a bat file. Open wordpad and type the following changing the servername and shred folder to what you need. Here is what you should type:

NET USE S: \\servername\shredfolder

Then save the file as logon.bat. Place the file in the WINNT\System32\repl\import\scripts on the Domain Controller. Then you have to edit the Domain User logon properties. There should be a place to put in the login script name. If you type in the name and synchronize the Domain. The script will run when the user logs on. You will want to copy the logon script to all Domain controllers.

Collapse -

Windows NT and 2000 script

by cwleng In reply to Windows NT and 2000 scrip ...

The question was auto-closed by TechRepublic

Collapse -

Windows NT and 2000 script

by allen.bauserman In reply to Windows NT and 2000 scrip ...

@echo off
REM
REM This file is the template used to create the logon script for each user.
REM

REM
REM If this is running on dos, exit
REM

if "%windir%" == "" goto exit

if "%COMPUTERNAME%" == "" goto proc_test
if "%COMPUTERNAME%" == "Servername" goto exit

roc_test

REM set time on computer
NET TIME \\ServerName /SET /YES

NET USE S: \\Server Name\Folder Name

NET USE H /Home

REM
REM Use PROCESSOR_ARCHITECTURE to pick the right directory
REM

if "%PROCESSOR_ARCHITECTURE%" == "" set DIRECTORY=win95
if "%PROCESSOR_ARCHITECTURE%" == "" set DIRECTORY=win98
if "%PROCESSOR_ARCHITECTURE%" == "x86" set DIRECTORY=i386
if "%DIRECTORY%" == "" goto exit


:exit

Collapse -

Windows NT and 2000 script

by cwleng In reply to Windows NT and 2000 scrip ...

The question was auto-closed by TechRepublic

Collapse -

Windows NT and 2000 script

by cwleng In reply to Windows NT and 2000 scrip ...

This question was auto closed due to inactivity

Back to Networks Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums