#147633 - 2005-09-12 10:41 PM
Disable Beep??
|
bippyfeb2098
Fresh Scripter
Registered: 2005-09-12
Posts: 39
|
Hello, I get an expected error beep during one of login scripts. Is there a way to disable the beep my users get?
Thank you
|
|
Top
|
|
|
|
#147635 - 2005-09-12 10:51 PM
Re: Disable Beep??
|
bippyfeb2098
Fresh Scripter
Registered: 2005-09-12
Posts: 39
|
Well, maybe you could help with that. We are trying to push out printers to select groups and not others. So the kix32.exe runs from a bat file and calls up a "*".kix script to add a select printer.
The kix32.exe has to run for all the users, but I have tailor made .kix files for all the printers. So all the scripts have to run, but I only give the selected users rights to the .kix file.
Edited by bippyfeb2098 (2005-09-12 10:52 PM)
|
|
Top
|
|
|
|
#147636 - 2005-09-12 11:08 PM
Re: Disable Beep??
|
bippyfeb2098
Fresh Scripter
Registered: 2005-09-12
Posts: 39
|
Well, if I can't find a work around, how about a way to disable the beep?
|
|
Top
|
|
|
|
#147639 - 2005-09-13 02:29 AM
Re: Disable Beep??
|
rcurrao
Fresh Scripter
Registered: 2005-09-13
Posts: 21
|
The code is fine. The error occurs because only the select print group has the right to execute the .kix file. This is how it works, and I am sure hope there is another way. We have many network printers that we want to have auto created for our users.
1) User logs in and hits the company wide login.bat which contains multiple entries that look like this: \\servername\kixtart\kix32.exe printer1.kix \\servername\kixtart\kix32.exe printer2.kix \\servername\kixtart\kix32.exe printer3.kix
Within each of these .kix files are autocreated printers for users of choice.
So the above runs for all users, but only those groups I want to have those printers have rights to the .kix file....so hence the error and the beeps.
There has to be an easier way. Today is my fist day using Kixtart....and I am sure that is VERY obvious.
Thanks for not beating me up too much.
Edited by rcurrao (2005-09-13 02:35 AM)
|
|
Top
|
|
|
|
#147641 - 2005-09-13 02:40 AM
Re: Disable Beep??
|
rcurrao
Fresh Scripter
Registered: 2005-09-13
Posts: 21
|
But won't I still be creating many logonscripts?? Any chance you could step by step it for me?
Edited by rcurrao (2005-09-13 02:45 AM)
|
|
Top
|
|
|
|
#147643 - 2005-09-13 04:03 AM
Re: Disable Beep??
|
rcurrao
Fresh Scripter
Registered: 2005-09-13
Posts: 21
|
Thanks, I will post it tomorrow when I get into the office. Appreciate your assistance.
|
|
Top
|
|
|
|
#147644 - 2005-09-13 03:05 PM
Re: Disable Beep??
|
bippyfeb2098
Fresh Scripter
Registered: 2005-09-12
Posts: 39
|
Here is the test Login.bat I am using:
rem *** items for ADP net use J: \\DC2\HR set path=%path%;C:\Adp\Sqlbase set COMSPEC=C:\COMMAND.COM
rem *** map drives to Volumes net use F: \\DC2\Data net use W: \\snap\Clients\CLIENTS
rem *** map drives for Applications net use I: \\DC2\ImmigrantPro net use K: \\DC2\Docket net use S: \\DC2\Summation net use O: \\DC2\Departments net use Q: \\snap\Departments\MIS\test_archive net use X: \\snap\Attorneys\Attorneys
rem *** map home folder for Win9x clients rem If %OS%="Windows_NT" goto Skip rem net use P: /home rem net time \\app1 /set /yes
rem :Skip rem net use
\\print01\kixtart\kix32.exe 18E.kix \\print01\kixtart\kix32.exe 18SE.kix \\print01\kixtart\kix32.exe SAS.kix \\print01\kixtart\kix32.exe 18NE.kix \\print01\kixtart\kix32.exe 18SW.kix \\print01\kixtart\kix32.exe 18W.kix \\print01\kixtart\kix32.exe GS.kix \\print01\kixtart\kix32.exe HR.kix \\print01\kixtart\kix32.exe immigration4100.kix \\print01\kixtart\kix32.exe immigration4200.kix \\print01\kixtart\kix32.exe records.kix \\print01\kixtart\kix32.exe trust.kix
|
|
Top
|
|
|
|
#147645 - 2005-09-13 04:02 PM
Re: Disable Beep??
|
bippyfeb2098
Fresh Scripter
Registered: 2005-09-12
Posts: 39
|
bump
|
|
Top
|
|
|
|
#147647 - 2005-09-13 05:09 PM
Re: Disable Beep??
|
bippyfeb2098
Fresh Scripter
Registered: 2005-09-12
Posts: 39
|
Ok, I do apologize for that. My bad.
We do not have any 9x machines. Tha only kix code I have created are the printer scripts for each printer.
The way I am testing it now is: 1) the user profile hits logon.bat. 2) the bat file executes kix32.exe and the logon.kix
I have mapped drives in the logon.kix, but how would I go about user specified printers?
|
|
Top
|
|
|
|
#147650 - 2005-09-13 05:20 PM
Re: Disable Beep??
|
bippyfeb2098
Fresh Scripter
Registered: 2005-09-12
Posts: 39
|
The intention is to create group defined printers using Kixtart. We are a Citrix network that will be going away from Terminal Services in teh next 2 months. I still would like to have the auto created printer option available to me.
Here is one of the printer scripts I have for a given group. The script is called upon by the kix32.exe upon log in.
"If ADDPRINTERCONNECTION ("\\print01\18_East") = 0 ? "Added printer connection...."
If ADDPRINTERCONNECTION ("\\print01\18E_Copier") = 0 ? "Added printer connection...."
If SetDefaultPrinter ("\\print01\18_East") = 0 ? "Set default printer to 18_East...."
Endif
Endif"
|
|
Top
|
|
|
|
#147652 - 2005-09-13 05:42 PM
Re: Disable Beep??
|
Lonkero
KiX Master Guru
   
Registered: 2001-06-05
Posts: 22346
Loc: OK
|
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 837 anonymous users online.
|
|
|