Page 2 of 3 <123>
Topic Options
#45938 - 2003-09-24 06:09 PM Re: changing the beep sound
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Change from WKIX32 to KIX32.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#45939 - 2003-09-24 06:12 PM Re: changing the beep sound
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Here is my bat:

%0\..\kix32 %0\..\logon.kix

Top
#45940 - 2003-09-24 06:15 PM Re: changing the beep sound
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
%0\..\ will not work under Windows XP. Please read the FAQ Forum. A batch file is necessary to run login scripts under Windows 9x.
_________________________
There are two types of vessels, submarines and targets.

Top
#45941 - 2003-09-24 06:17 PM Re: changing the beep sound
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If your scripts are not visible with that batch file, provided it is called from the user's profile and no as a GPO script, you need to apply the RunLogonScriptSync GPO to make it visible.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45942 - 2003-09-24 06:29 PM Re: changing the beep sound
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Hi Les, I'm running the batch file from a GPO.
Top
#45943 - 2003-09-24 07:21 PM Re: changing the beep sound
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Then you are snookered! I would suggest you look at using KiXforms if you want to have a progress screen visible.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45944 - 2003-09-24 07:51 PM Re: changing the beep sound
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
if I apply a batch file for logon for the user it is still not visible, if I run KIX32 from the users profile its not visible either.
Top
#45945 - 2003-09-24 07:54 PM Re: changing the beep sound
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
How do you know it is running at all?

Put a DEBUG ON into the first line of your script and step through it.
_________________________
There are two types of vessels, submarines and targets.

Top
#45946 - 2003-09-24 07:58 PM Re: changing the beep sound
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
quote:
if I run KIX32 from the users profile its not visible either.
It would be if you set the RunLogonScriptSync GPO.

If you can't see the script run then there is not much point in running it with debug on. You could add some SendMessage() lines to pop up progress messages for debugging.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45947 - 2003-09-24 08:54 PM Re: changing the beep sound
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Its running because it maps drives.
Top
#45948 - 2003-09-24 09:10 PM Re: changing the beep sound
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
quote:
Its running because it maps drives.
NO! Not necessarily!

quote:
use g: /delete /persistent

You had them as persistent so if you change something that causes the script to not run, you cannot use that logic to assume the script is still running.

You should never map them as persistent because they would map on every logon anyway. You need to delete them as persistent however.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45949 - 2003-09-24 09:19 PM Re: changing the beep sound
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
DEBUG ON will definitely tell you whether the script is running or not, and implement RunLoginScriptSync as outlined in the FAQ forum.
_________________________
There are two types of vessels, submarines and targets.

Top
#45950 - 2003-09-24 09:30 PM Re: changing the beep sound
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Hmm, I see. Ok, well I will remove the persistent command because they don't need to be (the thing is if I log in with a different user that is not in the group specified for a drive mapping, that mapping won't be made... so I don't fully understand the persistent command, I will read up on it.) I will also look over the faq forum for the scriptsync GPO implementation. Thanks for the advice and info.
Top
#45951 - 2003-09-24 09:31 PM Re: changing the beep sound
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
I hope I'm not testing your patience guys.
Top
#45952 - 2003-09-24 09:35 PM Re: changing the beep sound
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
My turn to apologize. [Embarrassed]

You weren't mapping persitent, you were deleting.

use g: /delete /persistent

Sorry, will go crawl under a rock now...
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45953 - 2003-09-24 09:36 PM Re: changing the beep sound
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
No problem. Howard suggested the code to me in an earlier topic so I'm glad its not an issue.

I'm still looking into getting that box visible however.

[ 24. September 2003, 21:37: Message edited by: justinm ]

Top
#45954 - 2003-09-24 09:45 PM Re: changing the beep sound
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
So, when will you implement RunLoginScriptSync? Then run the KiXtart script via KIX32.EXE and put DEBUG ON into the first line of your code.

If you still don't see anything then there's no script running.

So, please do this first!
_________________________
There are two types of vessels, submarines and targets.

Top
#45955 - 2003-09-24 09:52 PM Re: changing the beep sound
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Hate to say this, but I can't find the article on runscriptsync in the faq forum, can you give me a pointer to it? thanks.
Top
#45956 - 2003-09-24 10:00 PM Re: changing the beep sound
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Using 'RunLoginScriptSync' as search phrase for the FAQ Forum only would lead you to W2k/XP - Keep the Window visible on login?
_________________________
There are two types of vessels, submarines and targets.

Top
#45957 - 2003-09-24 10:31 PM Re: changing the beep sound
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Forget the FAQ as it endorses implementing it as a reg hack. Go into your ADUC and do it as a GPO as it was meant to be!
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 2 of 3 <123>


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

Who's Online
0 registered and 515 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.072 seconds in which 0.024 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