#167727 - 2006-09-26 02:44 PM
Re: Rename Printers
|
Witto
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
|
|
|
|
#167732 - 2006-09-26 03:42 PM
Re: Rename Printers
|
therob
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
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
|
|
|
|
#167735 - 2006-09-29 09:31 AM
Re: Rename Printers
|
therob
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
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
|
|
|
|
#167738 - 2006-10-02 11:58 AM
Re: Rename Printers
|
Nazeedah
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
Fresh Scripter
Registered: 2006-09-15
Posts: 20
|
please help me to find a solution for the above problem
Thanks nazeedah
|
Top
|
|
|
|
#167741 - 2006-10-05 07:06 AM
Re: Rename Printers
|
Nazeedah
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
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
|
|
|
|
#167744 - 2006-10-09 07:22 AM
Re: Rename Printers
|
Nazeedah
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
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 229 anonymous users online.
|
|
|