Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Ulises Ruiz 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.
-
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.
-
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.
-
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
-
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
-
Thanks Hans, i try this.