#34863 - 2003-01-07 06:13 PM
Win95 compitability of KIX2001 (4.12)
|
MSHALOM
Lurker
Registered: 2003-01-07
Posts: 3
Loc: Israel
|
Hello all. Running login script by Kix2001(4.12) on Win95 stations have encountered strange problems, like > Microsoft Exchange Server's service was removed from the outlook profile. > The user desktop has been changed as for a new login user. > The WELCOME screen of WINDOWS appears.
It seems as the system identified the old logged-on user as a new user in the local station.
Did someone come up against above described problems ?
|
|
Top
|
|
|
|
#34865 - 2003-01-07 06:24 PM
Re: Win95 compitability of KIX2001 (4.12)
|
MSHALOM
Lurker
Registered: 2003-01-07
Posts: 3
Loc: Israel
|
1) Thank u for answering me 2) I wrote the script. this is an old script which worked (and working again) well in kixtart 4.37. 3) it doesn't make any changes as described above. 4) Any more ideas ?
|
|
Top
|
|
|
|
#34868 - 2003-01-09 06:37 AM
Re: Win95 compitability of KIX2001 (4.12)
|
MSHALOM
Lurker
Registered: 2003-01-07
Posts: 3
Loc: Israel
|
Thank u
|
|
Top
|
|
|
|
#34870 - 2003-01-14 02:27 PM
Re: Win95 compitability of KIX2001 (4.12)
|
PhazeD
Fresh Scripter
Registered: 2003-01-14
Posts: 7
Loc: Netherlands
|
Woa! Finally! Found someone with the same problem. =)
Hi. I'm PhazeD, new to this board. ;D
I've been trying to upgrade kix from 3.63 to 4.12 (I want writevalue etc). The intitial testing gave no problems, my old script was working ok. I added another short script for some registrysettings I want done. But after logging in for about 10 times the *whole* user profile suddenly vanished. It was still there, but it seems another 'clean' user profile gets created just after, or during, login. When this happend the loggin in took longer then usual and a few windows-installer type screens, like progress screens, flashed by. Scary eh? (Imagine fixing the user profiles for hundreds of users) Luckily I was just in time and rolled back the 4.12 installation. Now, kix itself could not create an clean profile out of the blue. At least, that seems very unlikely. So I looked to the script we use. After a few simple mappings we run newprof.exe for automatic exchange profile settings. Then I came across this article: http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q239093 My working theory right now is that somehow, because of the new kix version, newprof.exe gets run twice (as discribed in the article).
Is this feasible? Or does this sound stupid / am I misinterpreting something?
And if this is true, how to solve this problem...?
Any idea's are very welcome. Thanks. Greetings,
PhazeD
|
|
Top
|
|
|
|
#34872 - 2003-01-14 02:47 PM
Re: Win95 compitability of KIX2001 (4.12)
|
PhazeD
Fresh Scripter
Registered: 2003-01-14
Posts: 7
Loc: Netherlands
|
Woa. You draw fast Shawn!
Well... thats the strange part. It doesn't. And normally running newprof.exe does not seem to cause any problems. Yes, I'm groping at straws here. Totally clueless. I'm testing while we speak: trying to run newprof twice.
|
|
Top
|
|
|
|
#34873 - 2003-01-14 02:57 PM
Re: Win95 compitability of KIX2001 (4.12)
|
PhazeD
Fresh Scripter
Registered: 2003-01-14
Posts: 7
Loc: Netherlands
|
The lines in the script were talking about: Copy "p:\scripts\newprof\outlook.prf" "c:\windows\" Shell "p:\scripts\newprof\prfpatch.exe @USERID" Shell "p:\scripts\newprof\newprof.exe -p c:\windows\outlook.prf"
|
|
Top
|
|
|
|
#34874 - 2003-01-14 03:03 PM
Re: Win95 compitability of KIX2001 (4.12)
|
PhazeD
Fresh Scripter
Registered: 2003-01-14
Posts: 7
Loc: Netherlands
|
Argl. Test results for running the lines manually from a command prompt: First user: profile is 'damaged', outlook says it isn't installed (and other office apps). Second user: nothing happens. No problems with outlook. Feels like I'm overlooking somehting...
Any idea's?
|
|
Top
|
|
|
|
#34877 - 2003-01-14 05:23 PM
Re: Win95 compitability of KIX2001 (4.12)
|
PhazeD
Fresh Scripter
Registered: 2003-01-14
Posts: 7
Loc: Netherlands
|
Well, I'll continue testing. I need to get to the bottom of this...
Newprof.exe is the tool that Outlook uses to create Outlook profiles. Usually, Outlook uses Newprof.exe only to create a new Outlook profile when no Outlook profile exists. It uses a .prf file to do these settings. Prfpatch is used to change ProfileName=%username% to the proper username.
I'm still not certain newprof.exe causes this problem. Its the most plausible explanation I've come up with. What else could it be?
A possible workaround would be to run newprof only once. I'll need to write a short script to prevent it from running every time. Any thoughts on how the schript should look? Any thougts at all?
Please, don't mind me. Slept 3 hours and got 'one of those days'. Never try to be whitty when new on a forum...
|
|
Top
|
|
|
|
#34878 - 2003-01-14 05:30 PM
Re: Win95 compitability of KIX2001 (4.12)
|
PhazeD
Fresh Scripter
Registered: 2003-01-14
Posts: 7
Loc: Netherlands
|
Hi sealeopard,
"As far as I understand it, this has nothing to do with KiXtart at all." Well, the change in KiXtart causes newprof to bug out...
"KiXtart is not responsible for incorrectly written scripts and external utilities that mess up profiles." Agreed!! Ofcourse not. Just trying to solve another buggy Microsoft adventure.
MRSHALOM might find this useful. Might.
I'll stop wasting precious forum space.
Thanks for the reply's.
BTW: We use win98se with office2000, and yes newprof is compatible but ofcourse, its buggy and somehow the update from 3.63 to 4.12 triggers this bug. [ 14. January 2003, 17:33: Message edited by: PhazeD ]
|
|
Top
|
|
|
|
#34882 - 2003-01-20 10:55 AM
Re: Win95 compitability of KIX2001 (4.12)
|
PhazeD
Fresh Scripter
Registered: 2003-01-14
Posts: 7
Loc: Netherlands
|
quote: HORRAY - I think Les nailed it - the shell commands your using are not synchronous (fe: not using %comspec% /c ) and therefore this both utils will run at the same time !!! And this might produce inconsistent results.
Ofcourse!!! You guyz rule. Thanx Les. Thanx sealeopard and Shawn. Me happy!
Prfpatch.exe should be run BEFORE newprof.exe! If newprof.exe is run before prfpatch has done its work newprof.exe loads default / empty profile settings.
Would a 'sleep 1' suffice? Or use %comspec% /c (I'm not really clear on how this would solve the problem)?
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 675 anonymous users online.
|
|
|