Koozali.org: home of the SME Server

How do LOGIN SCRIPT with E-smith as W2K Server

Ulises Ruiz

How do LOGIN SCRIPT with E-smith as W2K Server
« on: July 03, 2002, 07:37:05 AM »
Hello, i need do a login script with a E-smith server as domain controler, the stations are W95, w98, w2k y wxp, thanks.

Darren

Re: How do LOGIN SCRIPT with E-smith as W2K Server
« Reply #1 on: July 03, 2002, 01:04:32 PM »
What Do you need it to do

to edit the logon script

type

\Yourserver\netlogon

Yourserver is the name of your server

things most people use are
@echo off
set SERVER=\yourserver
rem                                                       --Sets the name of your server
net time %SERVER% /set /yes
rem                                                      --Sets the machine to the server time

net use z: /delete /yes
rem                                                           --Delete z:

net use z: %SERVER%\data /yes
rem                                                        --map server\data to z:

if %OS%==Windows_NT goto :NOT9X
rem                                                    --conditions for not nt or 2000 machines
winset SERVER=\server
rem                                                    --how its done with win 95/98
putinenv.exe L
winset USERNAME=%USERNAME%
:NOT9X

if "%USERNAME%"=="blah" net use q: %SERVER%\quicken /yes
cd /d C:\


if you need winset or putinenv just ask and i will send it to you.

Ulises Ruiz

Re: How do LOGIN SCRIPT with E-smith as W2K Server
« Reply #2 on: July 03, 2002, 06:44:18 PM »
Hello Darren, i need this:

net time \"e-smith"
net use f: \"e-smith" \"ibay"
net use g: \"e-smith" \"ibay"
net use h: \"e-smith" \"ibay"

the login script will be run when the user login in the E-smith server as domain controler as W2K, and not run from the autoexec from the operanting system.
where i put the login script in E-smith, and apply to the specify user. THANKS, sorry for my english.

Darren

Re: How do LOGIN SCRIPT with E-smith as W2K Server
« Reply #3 on: July 04, 2002, 05:38:59 AM »
login as admin on a win2k machine
go in to my computer
in the address bar type

\"e-smith"\netlogon

in this directory you will see a file called "NETLOGON.BAT"
This is where you put your logon script

Hans Pedersen

Re: How do LOGIN SCRIPT with E-smith as W2K Server
« Reply #4 on: July 04, 2002, 02:36:52 PM »
I've once ran kix-scripts, made for Windows Servers, as an experiment from the Mitel server, and that seemed to work smoothly. Kix-script is very easy to setup, but I woun't guarantee that all functions will work. But for your simple tasks there shouldn't be any problems.

http://www.kixtart.org

Hans Pedersen
Denmark, EU

Ulises Ruiz

Re: How do LOGIN SCRIPT with E-smith as W2K Server
« Reply #5 on: July 04, 2002, 10:16:44 PM »
Thanks Hans, i try this.