|
|
|||||||
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. |
||||||||
|
|
|||||||
Originally Posted By: Kororo 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. Originally Posted By: Kororo .... 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. Originally Posted By: Kororo .... Third, i want to ask the code. 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. Originally Posted By: Kororo .... 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: Code: If InGroup("HR") Or InGroup ("IT") Use g: /delete Use g: "\\servername\hr" EndIf Originally Posted By: Kororo .... 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"). Code: If InGroup("HR") If @USERID = "John" Use g: /delete Use g: "\\servername\John" EndIf EndIf Originally Posted By: Kororo .... 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. |
||||||||
|
|
|||||||
Originally Posted By: Mart 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? --------------------------------------------------------------------------- Code: If InGroup("HR") If @USERID = "John" Use g: /delete Use g: "\\servername\John" EndIf EndIf Code: net use g:\\servername\John once is KiXtart and the another is cmd in windows, what are the different between two of them? |
||||||||
|
|
|||||||
Netlogon is a share name. It is basically the same as the Sysvol share. You can find the netlogon folder by browsing to \\yourdomaincontroler\netlogon or \\yourdomainname\netlogon The difference between Kixtart and cmd? Kixtart has a lot of options that batch does not have. |
||||||||
|
|
|||||||
Thanks for help me a lot Mart |