Page 3 of 4 <1234>
Topic Options
#167725 - 2006-09-26 01:59 PM Re: Rename Printers
therob Offline
Starting to like KiXtart

Registered: 2005-05-19
Posts: 150
Loc: Frankfurt/M., Germany
nope. try it if you dont believe me. The error-message gives you another hint "DLLUnregister server in c:\winnt\system32 failed".
Top
#167726 - 2006-09-26 02:04 PM Re: Rename Printers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yup.
can't unregister not registered stuff.
thus, the error is expected.

Top
#167727 - 2006-09-26 02:44 PM Re: Rename Printers
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
I really want to agree. But I tried this:
I go into my %systemroot%\system32 directory
I unregister KiXforms.dll 3 times
3 times I get the message it is successfully unregistered.
Now I register it 3 times
3 time I get the message it is successfully registered
Am I doing something wrong?
Would it work different for prnadmin.dll?
Quote:


"DLLUnregister server in c:\winnt\system32 failed".




I have to tell I am testing this on Windows XP, while a path like in the quote makes me think of Windows NT4.
[Edit]
I tried it on two computers
[/Edit]


Edited by Witto (2006-09-26 02:47 PM)

Top
#167728 - 2006-09-26 02:52 PM Re: Rename Printers
therob Offline
Starting to like KiXtart

Registered: 2005-05-19
Posts: 150
Loc: Frankfurt/M., Germany
i guess you get the error only for dlls which have never been registered on the system before.

Edit: no, its seems to be a special thing for some dlls. But you can reproduce the error with the prnadmin.dll. If registered, it unregisters fine. If not registered and you try to unregister it, you get the error.


Edited by therob (2006-09-26 03:02 PM)

Top
#167729 - 2006-09-26 03:23 PM Re: Rename Printers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
I get loadlibrary failed when tried with "huhaa.dll"

anyways, I think there is some problem in kixforms.dll which makes it report success.

Top
#167730 - 2006-09-26 03:33 PM Re: Rename Printers
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Maybe the DLL isn't in C:\WinNT\System32.
Top
#167731 - 2006-09-26 03:34 PM Re: Rename Printers
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Guess you are right. I tried to unregister an non existant DLL on my computer (slssdk.dll or so) and it said it could not load that library. But definitely not the error message as given by nazeedah.
Top
#167732 - 2006-09-26 03:42 PM Re: Rename Printers
therob Offline
Starting to like KiXtart

Registered: 2005-05-19
Posts: 150
Loc: Frankfurt/M., Germany
Quote:

hmm...
I get loadlibrary failed when tried with "huhaa.dll"

anyways, I think there is some problem in kixforms.dll which makes it report success.




yeah, "lollipop.dll" works neither. The name seems to be hardcoded in the dll so that you cant rename one and register it again.
However, i downloaded two new dlls and tried to unregister them and i got a different error. Translated to english something like "dll was loaded, but entrypoint could not be found. Unregister failed." So as i thought the error seems to be dll-specific.

Anyway, the initial problem of nazeedah was and is that he tried to unregister the dll and not register it.

Top
#167733 - 2006-09-29 07:23 AM Re: Rename Printers
Nazeedah Offline
Fresh Scripter

Registered: 2006-09-15
Posts: 20
Hello
i have been able to register the dll and the application work well but my qustion is still the same as it creates a printer there. the next time i login i do not find the renamed printer or the printer created by me. when i run the srcipt again i do not see my printer in my list and i am unable to print.

could you please help??

Regards
Nazeedah

Top
#167734 - 2006-09-29 07:32 AM Re: Rename Printers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, where is this script you are talking about?
you have posted some batch stuff in this thread, but do you have a real script there?

Top
#167735 - 2006-09-29 09:31 AM Re: Rename Printers
therob Offline
Starting to like KiXtart

Registered: 2005-05-19
Posts: 150
Loc: Frankfurt/M., Germany
mhm as witto insisted before, this maybe belongs rather in "General Discussions".
Anyway, i slowly loose faith, we'll ever get a solution here.

@Nazeedah:
To implement a script like that in a citrix envirnonment as well as Citrix printing in general is not an easy topic. The successful implementation of this (either the kix script or the batch) in your environment, depend on a lot of things, some of them specific to your citrix/windows env. and a lot of testing.
I tested both solutions for you, they both work fine (at least with Presentationserver 3, but i see no reason why they shouldn't in your farm).

As I told you before, in order to help you with this i need *detailed* information on how you tested it, e.g.:
- which script you u used?
- where do you placed the script?
- is anything in the eventlog related to the test?
- did you tried testing it in a published desktop session?
- what about the app-setting "dont wait for printers" i talked about?
- what kind of citrix printing you use, UPD?

No offense, but if you continue throw in just a minimum of infomation we could have this conversation for ages...


Edited by therob (2006-09-29 11:45 AM)

Top
#167736 - 2006-10-02 08:13 AM Re: Rename Printers
Nazeedah Offline
Fresh Scripter

Registered: 2006-09-15
Posts: 20
Hello
iam using the code from Utility to Rename auto-created Printers

i use the method 1 which i rename as ctxprinters.bat which i execute. I followed all the instruction from the readme.txt.


I placed the script at C:/WINNT/SYSTEM32 as specified in the readme.txt.

i haven't understand the question:did you tried testing it in a published desktop session?

Well the user rename the printer from the client machine and the ctxprinters.bat is on the server.every user will have to rename the printers since each time they login on citrix a printer is auto-created..

please do let me know if you need additional information and thanks a lot for replying

Regards

Nazeedaah

Top
#167737 - 2006-10-02 09:42 AM Re: Rename Printers
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Published desktop is that the Citrix server shows a desktop (not just the application).
I presume you can compare this with "Remote Desktop Connection".

Top
#167738 - 2006-10-02 11:58 AM Re: Rename Printers
Nazeedah Offline
Fresh Scripter

Registered: 2006-09-15
Posts: 20
i try it from clinet citrix that is a user. i could not do it on the server itself as there are a number of auto created printers and i cound not test it there.
it rename it successfully but next time the user login they do not see the renamed printer and they could not rename again

Thanks
Nazeedah

Top
#167739 - 2006-10-03 11:03 AM Re: Rename Printers
Nazeedah Offline
Fresh Scripter

Registered: 2006-09-15
Posts: 20
please help me to find a solution for the above problem

Thanks
nazeedah

Top
#167740 - 2006-10-03 02:29 PM Re: Rename Printers
therob Offline
Starting to like KiXtart

Registered: 2005-05-19
Posts: 150
Loc: Frankfurt/M., Germany
Quote:

iam using the code from Utility to Rename auto-created Printers





For the tool from dabbc.com: sorry i can't help you with that any further. It should work, but i can only test in a PS3-farm. If wanna go with that tool i encourage you to post your problem in the dabbc-forum, they have a special section for Metaframe XP there.

To test the kix-script (should work similar with the dabbc-tool) in your environment, try this:

-> publish a desktop in the CMC exclusively for your own account.
- publish it on one terminalserver only
- make sure your account has admin-rights on this TS

-> start the published desktop from your PN, open the printer-folder in that session and make sure the printers are created

-> take a look at "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices" and see if the printers are there

-> run the kixscript manually
_________________________
Eternity is a long time, especially towards the end. - W.Allan

Top
#167741 - 2006-10-05 07:06 AM Re: Rename Printers
Nazeedah Offline
Fresh Scripter

Registered: 2006-09-15
Posts: 20
hello
Could you please give me some more details about the way :To test the kix-script (should work similar with the dabbc-tool) in your environment, try this:

-> publish a desktop in the CMC exclusively for your own account.
- publish it on one terminalserver only
- make sure your account has admin-rights on this TS

-> start the published desktop from your PN, open the printer-folder in that session and make sure the printers are created

-> take a look at "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices" and see if the printers are there

-> run the kixscript manually

could you please give me some more steps of how to do it PLease.

Thanks a lot
Nazeedah

Top
#167742 - 2006-10-06 07:49 AM Re: Rename Printers
Nazeedah Offline
Fresh Scripter

Registered: 2006-09-15
Posts: 20
hello
have you find a solution. Therob can you please give me some more details about the testing you specified...
thanks a lot

Top
#167743 - 2006-10-06 11:48 AM Re: Rename Printers
therob Offline
Starting to like KiXtart

Registered: 2005-05-19
Posts: 150
Loc: Frankfurt/M., Germany
For which step you need more details?
Top
#167744 - 2006-10-09 07:22 AM Re: Rename Printers
Nazeedah Offline
Fresh Scripter

Registered: 2006-09-15
Posts: 20
hello
i would like to have some more info about the following so taht i can test it , i haven't understand all the steps:-
how can i publish a desktop in the CMC exclusively for your own account.
- publish it on one terminalserver only
- make sure your account has admin-rights on this TS

-> start the published desktop from your PN, open the printer-folder in that session and make sure the printers are created

-> take a look at "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices" and see if the printers are there

-> run the kixscript manually

thx a lot

Top
Page 3 of 4 <1234>


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

Who's Online
0 registered and 2141 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.249 seconds in which 0.183 seconds were spent on a total of 12 queries. Zlib compression enabled.

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