Page 1 of 1 1
Topic Options
#205905 - 2012-10-05 08:59 AM Scipt not Executing correctly W7-
Brein Offline
Fresh Scripter

Registered: 2012-10-02
Posts: 5
Loc: Netherlands
Hi all,

My login script wont give out mappings for one certain PC in my company.
He is running W7 Ultimate 32bits.
All the PC's are images of one PC from a while back and my script works fine on the rest except for his PC.
Currently i got him using a BAT file on startup for him and it works fine but i'd rather have him use the KixScript to


Thanks in advanced,

Bw

Top
#205906 - 2012-10-05 09:15 AM Re: Scipt not Executing correctly W7- [Re: Brein]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Hi And welcome to the board.

Can you post the failing code?
Some debugging might help. Can you put the code below directly after trying to map a drive?

 Code:
? @error
? @serror
sleep 5
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#205907 - 2012-10-05 09:33 AM Re: Scipt not Executing correctly W7- [Re: Mart]
Brein Offline
Fresh Scripter

Registered: 2012-10-02
Posts: 5
Loc: Netherlands
Hi Mart,

This is my debug file i cut it to the mapping part since the rest is offtopic to this problem.

As you can see the debug shows that the mappings are succesvol but when i let him relog the script gives no mapping at all.
:s

Thanks in advanced,

Bw



 Quote:
Processing Cursus Disc
Eval: 0, Man: 0, IM: 0, IA: 0, Chk: 0
No match in allowed group Cursist - ignored.


Processing Temp Cursus Disc
Eval: 0, Man: 0, IM: 0, IA: 0, Chk: 0
No match in allowed group Cursist - ignored.


Processing RD Disc
Eval: 0, Man: 0, IM: 0, IA: 0, Chk: 0
No match in allowed group RD - ignored.


Processing Forum_Gebruikers Disc
Eval: 0, Man: 0, IM: 0, IA: 0, Chk: 0
No match in allowed group Forum_Gebruikers - ignored.


Processing Kantoor_Gebruikers mail disc
Eval: 1, Man: 0, IM: 0, IA: 0, Chk: 1
Member of allowed group Kantoor_Gebruikers - continuing.
Logic: AND, Value: 3, Required: 3
OK to process this resource!
PATH Translated: \\server\mail$\%username%
DESC Translated:


Processing Kantoor_Gebruikers app disc
Eval: 1, Man: 0, IM: 0, IA: 0, Chk: 1
Member of allowed group Kantoor_Gebruikers - continuing.
Logic: AND, Value: 3, Required: 3
OK to process this resource!
PATH Translated: \\server\apps$
DESC Translated:


Processing Kantoor_Gebruikers data disc
Eval: 1, Man: 0, IM: 0, IA: 0, Chk: 1
Member of allowed group Kantoor_Gebruikers - continuing.
Logic: AND, Value: 3, Required: 3
OK to process this resource!
PATH Translated: \\server\data$
DESC Translated:


Processing Kantoor_Gebruikers temp disc
Eval: 1, Man: 0, IM: 0, IA: 0, Chk: 1
Member of allowed group Kantoor_Gebruikers - continuing.
Logic: AND, Value: 3, Required: 3
OK to process this resource!
PATH Translated: \\server\temp$
DESC Translated:


Processing Kantoor_Gebruikers test disc
Eval: 1, Man: 0, IM: 0, IA: 0, Chk: 1
Member of allowed group Kantoor_gebruikers - continuing.
Logic: AND, Value: 3, Required: 3
OK to process this resource!
PATH Translated: \\server\test$
DESC Translated:


Processing Beheer schijf
Eval: 0, Man: 0, IM: 0, IA: 0, Chk: 0
No match in allowed group Beheer - ignored.

Top
#205909 - 2012-10-05 11:43 AM Re: Scipt not Executing correctly W7- [Re: Brein]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Hmmm...nice logging format. Need to steal copy borrow some of if it you're ok with that

Ok back on topic.
What happens if you run the script manually after logon? Do you use UAC?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#205910 - 2012-10-05 01:06 PM Re: Scipt not Executing correctly W7- [Re: Mart]
Brein Offline
Fresh Scripter

Registered: 2012-10-02
Posts: 5
Loc: Netherlands
No UAC is disabled on all of our PC's

off topic.
The format is from Glenn Barnas btw :p

Top
#205912 - 2012-10-05 01:13 PM Re: Scipt not Executing correctly W7- [Re: Brein]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
That's from my Universal Login Script. Please send support requests directly to my email - gbarnas (at) innotechcg.com. The last page of the user manual should indicate which files we need so I can match the configuration file to the debug file.

At first blush, it seems that several resources are processed, but the beginning and end of the logfile is missing, so I can't tell what the results are.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#205914 - 2012-10-05 01:34 PM Re: Scipt not Executing correctly W7- [Re: Glenn Barnas]
Brein Offline
Fresh Scripter

Registered: 2012-10-02
Posts: 5
Loc: Netherlands
ASD

Edited by Brein (2012-10-05 03:45 PM)

Top
#205915 - 2012-10-05 03:27 PM Re: Scipt not Executing correctly W7- [Re: Brein]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
Brein,

If the script were encountering errors while mapping, they would be listed in the "Processing active resources" section, like this:
 Code:
   Disk: X	\\FILESERVER01\BadShare
The system cannot find the file specified.
That is why the entire file is important. The first part of the log shows the authorization logic, not the actual processing, which occurs at the end.

Please follow the instructions on Pg. 39 of the User Manual, and send them directly to my email. Publishing this information in a public forum such as this could pose a security risk as this site is scanned regularly by most search engines.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 525 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 4.537 seconds in which 0.593 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org