#131782 - 2004-12-24 12:38 PM
first login with kix script gets disconnected drives
|
Sephiroth
Fresh Scripter
Registered: 2004-12-24
Posts: 6
|
Hey ....
I've got the following situation: an win2000 server as domain controller.
i've made an kix login script to give drive mappings based on group membership.
here's a short quote from the script :
Quote:
;DELETE ALL DRIVERMAPPINGS
use q: /DELETE /PERSISTENT etc etc ...
IF (INGROUP("Administrators")=1) or (INGROUP("Domain Admins")=1) or (INGROUP("Ontwikkeling")=1) or (INGROUP("Helpdesk")=1) use f: \\xxxxx\xxxxx @error ENDIF
I've done the script for each mapping like above...
Now i've got the following problem: on some clients i've got disconnected drive's when i first login after booting the system (or rebooting). when i click on an connected drive all drives get connected. Also after logging out and logging in again, all drives are connected perfectly.
This problem is just on some clients (2000 or XP) but it's working perfectly on most of 2000 / XP clients.
also the @error gives only "0" , so the script is (in my opinion) working perfect. Can anybody tell me what is going wrong ?
|
|
Top
|
|
|
|
#131783 - 2004-12-24 12:49 PM
Re: first login with kix script gets disconnected drives
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
nothing is wrong
ignore the disconnected status, it will function correctly when accessed
It is a MS issuue, not a kix issue
|
|
Top
|
|
|
|
#131784 - 2004-12-24 12:59 PM
Re: first login with kix script gets disconnected drives
|
Sephiroth
Fresh Scripter
Registered: 2004-12-24
Posts: 6
|
Quote:
nothing is wrong
ignore the disconnected status, it will function correctly when accessed
It is a MS issuue, not a kix issue
The problem is when i've got 8 disconnected drives, there is only 1 or 2 accessible.
the other ones give an error, they get available when i've clicked an drive that is connected.
So the problem when an user logs in and outlook is started automatically and he wants to open his .pst file he gets an error because his mapping is not available.
The user has to click on an connected drive before his pst is available .
The weirdest thing of all is that it works perfect on 95% of the clients, only a few has these problems
Edited by Sephiroth (2004-12-24 01:00 PM)
|
|
Top
|
|
|
|
#131786 - 2004-12-24 01:09 PM
Re: first login with kix script gets disconnected drives
|
Sephiroth
Fresh Scripter
Registered: 2004-12-24
Posts: 6
|
the clients who use the script are 2000 / xp clients. About 10 clients use the script. 3 clients (both xp/2000) have the problems, the others don't
|
|
Top
|
|
|
|
#131788 - 2004-12-24 05:14 PM
Re: first login with kix script gets disconnected drives
|
Anonymous
Anonymous
Unregistered
|
tnx for that info .... i also tried that gpo setting, then i see the script loading before going to desktop but it doesn't result in connected mappings
|
|
Top
|
|
|
|
#131790 - 2004-12-26 08:58 AM
Re: first login with kix script gets disconnected drives
|
Sephiroth
Fresh Scripter
Registered: 2004-12-24
Posts: 6
|
No, the clients don't use any other protocol.
But when i'm going to use shell -> net use, then i can't use the ingroup function isn't it ?
|
|
Top
|
|
|
|
#131792 - 2004-12-27 09:33 AM
Re: first login with kix script gets disconnected drives
|
Sephiroth
Fresh Scripter
Registered: 2004-12-24
Posts: 6
|
Quote:
How would that negate the use of InGroup()?
Code:
If InGroup('Administrators','Domain Admins','Ontwikkeling','Helpdesk')
Use F: /delete /persistent
Shell 'NET USE F: \\server\share /PERSISTENT:NO'
EndIf
tnx! i'm going to try this ...
[edit]
I have tried it, but it doesn't matter
[/edit]
Edited by Sephiroth (2004-12-27 01:55 PM)
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2924 anonymous users online.
|
|
|