#198931 - 2010-06-30 06:50 AM
questions about setting up Kixtart and the code
|
Kororo
Just in Town
Registered: 2010-06-30
Posts: 3
Loc: Hong Kong
|
HI, everyone.
My boss has asked me to set up a network that every users can login from different computer in the office and access their own home directory in the server in different computer. Yet, some guys have told me i need to use kixtart to write some logon script to mount the directory because of using window xp.
However,some questions have confused me for the whole morning. Our server is using windows server 2008.
First, i want to ask do i need to install Kixtart to both server and all the computer in my office?
Second, Official Kixtart Manual says the Win XP client need only install Kix32.exe. Is it mean I just need to copy this file to the \windows or \windows\system directory.
Third, i want to ask the code.
If INGROUP("HR") Use g: /delete Use g: "\\servername\hr" EndIf
if g:\ is the drive of my computer's hhd, the above will have a error?
if i am the user belong to IT Group, the above would not help my computer to connect to the "\\servername\hr", right?
Forth, in case it need to mount the directory to the related user(Ex. John in HR). Is the following code correct?
If INGROUP("HR") If INUSER("John") Use g: /delete Use g: "\\servername\John" END IF END IF
Fifth, i find some codes in the other post and don't understand it.
IF INGROUP("ADMINS") = 1 AT (17,9) "Connexion \\SVRXSL02\CONSOLES "
what is the different between IF INGROUP("ADMINS") = 1 and IF INGROUP("ADMINS")? Also what is the meaning of "AT (17,9) "Connexion \\SVRXSL02\CONSOLES ""?
Sorry for about lots of question.
|
Top
|
|
|
|
#198932 - 2010-06-30 09:18 AM
Re: questions about setting up Kixtart and the code
[Re: Kororo]
|
Mart
KiX Supporter
Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
|
HI, everyone.
My boss has asked me to set up a network that every users can login from different computer in the office and access their own home directory in the server in different computer. Yet, some guys have told me i need to use kixtart to write some logon script to mount the directory because of using window xp. ....
In AD users and computer you can set the home folder for the user. If it is set there it will get mapped each time they login.
.... However,some questions have confused me for the whole morning. Our server is using windows server 2008.
First, i want to ask do i need to install Kixtart to both server and all the computer in my office?
Second, Official Kixtart Manual says the Win XP client need only install Kix32.exe. Is it mean I just need to copy this file to the \windows or \windows\system directory. ....
Copying kix32.exe or wkix32.exe is enough. I run it during logon directly from the server. This way you only need to update one location when a new version of kixtart is released.
.... Third, i want to ask the code.
If InGroup("HR")
Use g: /delete
Use g: "\\servername\hr"
EndIf
if g:\ is the drive of my computer's hhd, the above will have a error? ....
Yes. You need to pick a letter that is free on all systems.
.... if i am the user belong to IT Group, the above would not help my computer to connect to the "\\servername\hr", right? ....
True. You can use more than one ingroup statements in one line. Like this:
If InGroup("HR") Or InGroup ("IT")
Use g: /delete
Use g: "\\servername\hr"
EndIf
.... Forth, in case it need to mount the directory to the related user(Ex. John in HR). Is the following code correct?
If INGROUP("HR") If INUSER("John") Use g: /delete Use g: "\\servername\John" END IF END IF ....
Almost. You need to remove the spaces from both EndIf's and InUser is not a kix function. You can check on @userid or use instr(@userid, "John").
If InGroup("HR")
If @USERID = "John"
Use g: /delete
Use g: "\\servername\John"
EndIf
EndIf
.... Fifth, i find some codes in the other post and don't understand it.
IF INGROUP("ADMINS") = 1 AT (17,9) "Connexion \\SVRXSL02\CONSOLES "
what is the different between IF INGROUP("ADMINS") = 1 and IF INGROUP("ADMINS")? Also what is the meaning of "AT (17,9) "Connexion \\SVRXSL02\CONSOLES ""? ....
InGroup returns 1 or 0 if user is a member or not. If Ingroup("test") and If Ingroup("test") = 1 will have the same effect. The code below the If statement will be executed when the user is a member. The At command shows data on the screen where you say it must be showed. The AT command is explained in the manual as are all other commands and functions.
_________________________
Mart
- Chuck Norris once sold ebay to ebay on ebay.
|
Top
|
|
|
|
#198933 - 2010-06-30 11:11 AM
Re: questions about setting up Kixtart and the code
[Re: Mart]
|
Kororo
Just in Town
Registered: 2010-06-30
Posts: 3
Loc: Hong Kong
|
Copying kix32.exe or wkix32.exe is enough. I run it during logon directly from the server. This way you only need to update one location when a new version of kixtart is released.
if do so, i guest i need to follow the instruction of "To install KiXtart on the network" in the manual.But where is the NETLOGON?
---------------------------------------------------------------------------
If InGroup("HR")
If @USERID = "John"
Use g: /delete
Use g: "\\servername\John"
EndIf
EndIf
net use g:\\servername\John
once is KiXtart and the another is cmd in windows, what are the different between two of them?
|
Top
|
|
|
|
#198936 - 2010-06-30 03:37 PM
Re: questions about setting up Kixtart and the code
[Re: Mart]
|
Kororo
Just in Town
Registered: 2010-06-30
Posts: 3
Loc: Hong Kong
|
Thanks for help me a lot Mart
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 507 anonymous users online.
|
|
|