Group:  English: Windows Server ยป microsoft.public.windows.terminal_services
Thread: Why this happens in terminal service?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Why this happens in terminal service?
DAXU[ at ]HOTMAIL.COM 11.07.2007 14:04:41
Hello,

I got an appliation like a toolbar to lunch things like notepad etc
(some application, just same me some type time). Before I install
terminal service, it works ok. But when I got terminal service
installed, it failed to launch. (e.g. when the toolbar tries to launch
notepad,it gives out error:
Unable to find notepad.exe in "C:\documents and settings\administrator
\windows\".

So why it is searching that path?

If I remove terminal service, the application will be OK again.

Many Thanks
Jerry

Re: Why this happens in terminal service?
Jeff Pitsch <Jeff[ at ]Jeffpitschconsulting.com> 11.07.2007 16:36:10
Try reinstalling the app after TS is enabled.

Jeff Pitsch
Microsoft MVP - Terminal Server
Citrix Technology Professional
Provision Networks VIP

Forums not enough?
Get support from the experts at your business
http://jeffpitschconsulting.com

DAXU[ at ]HOTMAIL.COM wrote:
[Quoted Text]
> Hello,
>
> I got an appliation like a toolbar to lunch things like notepad etc
> (some application, just same me some type time). Before I install
> terminal service, it works ok. But when I got terminal service
> installed, it failed to launch. (e.g. when the toolbar tries to launch
> notepad,it gives out error:
> Unable to find notepad.exe in "C:\documents and settings\administrator
> \windows\".
>
> So why it is searching that path?
>
> If I remove terminal service, the application will be OK again.
>
> Many Thanks
> Jerry
>
Re: Why this happens in terminal service?
DAXU[ at ]HOTMAIL.COM 12.07.2007 08:19:32
On 11 Jul, 17:36, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
[Quoted Text]
> Try reinstalling the app after TS is enabled.
>
> Jeff Pitsch
> Microsoft MVP - Terminal Server
> Citrix Technology Professional
> Provision Networks VIP
>
> Forums not enough?
> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>
> D...[ at ]HOTMAIL.COM wrote:
> > Hello,
>
> > I got an appliation like a toolbar to lunch things like notepad etc
> > (some application, just same me some type time). Before I install
> > terminal service, it works ok. But when I got terminal service
> > installed, it failed to launch. (e.g. when the toolbar tries to launch
> > notepad,it gives out error:
> > Unable to find notepad.exe in "C:\documents and settings\administrator
> > \windows\".
>
> > So why it is searching that path?
>
> > If I remove terminal service, the application will be OK again.
>
> > Many Thanks
> > Jerry

Just reinstalled the program and it behaved the same.
Any ideas?

Many Thanks

Re: Why this happens in terminal service?
Jeff Pitsch <Jeff[ at ]Jeffpitschconsulting.com> 12.07.2007 12:12:51
How is it calling Notepad? Kinda weird it's pulling the wrong path like
that.

Jeff Pitsch
Microsoft MVP - Terminal Server
Citrix Technology Professional
Provision Networks VIP

Forums not enough?
Get support from the experts at your business
http://jeffpitschconsulting.com

DAXU[ at ]HOTMAIL.COM wrote:
[Quoted Text]
> On 11 Jul, 17:36, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
>> Try reinstalling the app after TS is enabled.
>>
>> Jeff Pitsch
>> Microsoft MVP - Terminal Server
>> Citrix Technology Professional
>> Provision Networks VIP
>>
>> Forums not enough?
>> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>>
>> D...[ at ]HOTMAIL.COM wrote:
>>> Hello,
>>> I got an appliation like a toolbar to lunch things like notepad etc
>>> (some application, just same me some type time). Before I install
>>> terminal service, it works ok. But when I got terminal service
>>> installed, it failed to launch. (e.g. when the toolbar tries to launch
>>> notepad,it gives out error:
>>> Unable to find notepad.exe in "C:\documents and settings\administrator
>>> \windows\".
>>> So why it is searching that path?
>>> If I remove terminal service, the application will be OK again.
>>> Many Thanks
>>> Jerry
>
> Just reinstalled the program and it behaved the same.
> Any ideas?
>
> Many Thanks
>
Re: Why this happens in terminal service?
DAXU[ at ]HOTMAIL.COM 12.07.2007 13:18:45
On 12 Jul, 13:12, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
[Quoted Text]
> How is it calling Notepad? Kinda weird it's pulling the wrong path like
> that.
>
> Jeff Pitsch
> Microsoft MVP - Terminal Server
> Citrix Technology Professional
> Provision Networks VIP
>
> Forums not enough?
> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>
> D...[ at ]HOTMAIL.COM wrote:
> > On 11 Jul, 17:36, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
> >> Try reinstalling the app after TS is enabled.
>
> >> Jeff Pitsch
> >> Microsoft MVP - Terminal Server
> >> Citrix Technology Professional
> >> Provision Networks VIP
>
> >> Forums not enough?
> >> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>
> >> D...[ at ]HOTMAIL.COM wrote:
> >>> Hello,
> >>> I got an appliation like a toolbar to lunch things like notepad etc
> >>> (some application, just same me some type time). Before I install
> >>> terminal service, it works ok. But when I got terminal service
> >>> installed, it failed to launch. (e.g. when the toolbar tries to launch
> >>> notepad,it gives out error:
> >>> Unable to find notepad.exe in "C:\documents and settings\administrator
> >>> \windows\".
> >>> So why it is searching that path?
> >>> If I remove terminal service, the application will be OK again.
> >>> Many Thanks
> >>> Jerry
>
> > Just reinstalled the program and it behaved the same.
> > Any ideas?
>
> > Many Thanks

Don't know, it is a appliaction we got long time ago.
Interestingly, it calls wordpad without any problem. But not notepad.

Re: Why this happens in terminal service?
Jeff Pitsch <Jeff[ at ]Jeffpitschconsulting.com> 12.07.2007 13:25:02
Is it possible to contact the vendor? You could also try running
process monitor from sysinternals to see if their is something to be seen.

Jeff Pitsch
Microsoft MVP - Terminal Server
Citrix Technology Professional
Provision Networks VIP

Forums not enough?
Get support from the experts at your business
http://jeffpitschconsulting.com

DAXU[ at ]HOTMAIL.COM wrote:
[Quoted Text]
> On 12 Jul, 13:12, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
>> How is it calling Notepad? Kinda weird it's pulling the wrong path like
>> that.
>>
>> Jeff Pitsch
>> Microsoft MVP - Terminal Server
>> Citrix Technology Professional
>> Provision Networks VIP
>>
>> Forums not enough?
>> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>>
>> D...[ at ]HOTMAIL.COM wrote:
>>> On 11 Jul, 17:36, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
>>>> Try reinstalling the app after TS is enabled.
>>>> Jeff Pitsch
>>>> Microsoft MVP - Terminal Server
>>>> Citrix Technology Professional
>>>> Provision Networks VIP
>>>> Forums not enough?
>>>> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>>>> D...[ at ]HOTMAIL.COM wrote:
>>>>> Hello,
>>>>> I got an appliation like a toolbar to lunch things like notepad etc
>>>>> (some application, just same me some type time). Before I install
>>>>> terminal service, it works ok. But when I got terminal service
>>>>> installed, it failed to launch. (e.g. when the toolbar tries to launch
>>>>> notepad,it gives out error:
>>>>> Unable to find notepad.exe in "C:\documents and settings\administrator
>>>>> \windows\".
>>>>> So why it is searching that path?
>>>>> If I remove terminal service, the application will be OK again.
>>>>> Many Thanks
>>>>> Jerry
>>> Just reinstalled the program and it behaved the same.
>>> Any ideas?
>>> Many Thanks
>
> Don't know, it is a appliaction we got long time ago.
> Interestingly, it calls wordpad without any problem. But not notepad.
>
Re: Why this happens in terminal service?
DAXU[ at ]HOTMAIL.COM 12.07.2007 14:00:29
On 12 Jul, 14:25, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
[Quoted Text]
> Is it possible to contact the vendor? You could also try running
> process monitor from sysinternals to see if their is something to be seen.
>
> Jeff Pitsch
> Microsoft MVP - Terminal Server
> Citrix Technology Professional
> Provision Networks VIP
>
> Forums not enough?
> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>
> D...[ at ]HOTMAIL.COM wrote:
> > On 12 Jul, 13:12, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
> >> How is it calling Notepad? Kinda weird it's pulling the wrong path like
> >> that.
>
> >> Jeff Pitsch
> >> Microsoft MVP - Terminal Server
> >> Citrix Technology Professional
> >> Provision Networks VIP
>
> >> Forums not enough?
> >> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>
> >> D...[ at ]HOTMAIL.COM wrote:
> >>> On 11 Jul, 17:36, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
> >>>> Try reinstalling the app after TS is enabled.
> >>>> Jeff Pitsch
> >>>> Microsoft MVP - Terminal Server
> >>>> Citrix Technology Professional
> >>>> Provision Networks VIP
> >>>> Forums not enough?
> >>>> Get support from the experts at your businesshttp://jeffpitschconsulting.com
> >>>> D...[ at ]HOTMAIL.COM wrote:
> >>>>> Hello,
> >>>>> I got an appliation like a toolbar to lunch things like notepad etc
> >>>>> (some application, just same me some type time). Before I install
> >>>>> terminal service, it works ok. But when I got terminal service
> >>>>> installed, it failed to launch. (e.g. when the toolbar tries to launch
> >>>>> notepad,it gives out error:
> >>>>> Unable to find notepad.exe in "C:\documents and settings\administrator
> >>>>> \windows\".
> >>>>> So why it is searching that path?
> >>>>> If I remove terminal service, the application will be OK again.
> >>>>> Many Thanks
> >>>>> Jerry
> >>> Just reinstalled the program and it behaved the same.
> >>> Any ideas?
> >>> Many Thanks
>
> > Don't know, it is a appliaction we got long time ago.
> > Interestingly, it calls wordpad without any problem. But not notepad.

Will try.
Process monitor may be a good idea. Maybe I can use fileMon and
process Monitor.
Many Thanks

Re: Why this happens in terminal service?
Jeff Pitsch <Jeff[ at ]Jeffpitschconsulting.com> 12.07.2007 14:14:44
Process monitor is the new filemon/regmon.

Jeff Pitsch
Microsoft MVP - Terminal Server
Citrix Technology Professional
Provision Networks VIP

Forums not enough?
Get support from the experts at your business
http://jeffpitschconsulting.com

DAXU[ at ]HOTMAIL.COM wrote:
[Quoted Text]
> On 12 Jul, 14:25, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
>> Is it possible to contact the vendor? You could also try running
>> process monitor from sysinternals to see if their is something to be seen.
>>
>> Jeff Pitsch
>> Microsoft MVP - Terminal Server
>> Citrix Technology Professional
>> Provision Networks VIP
>>
>> Forums not enough?
>> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>>
>> D...[ at ]HOTMAIL.COM wrote:
>>> On 12 Jul, 13:12, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
>>>> How is it calling Notepad? Kinda weird it's pulling the wrong path like
>>>> that.
>>>> Jeff Pitsch
>>>> Microsoft MVP - Terminal Server
>>>> Citrix Technology Professional
>>>> Provision Networks VIP
>>>> Forums not enough?
>>>> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>>>> D...[ at ]HOTMAIL.COM wrote:
>>>>> On 11 Jul, 17:36, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
>>>>>> Try reinstalling the app after TS is enabled.
>>>>>> Jeff Pitsch
>>>>>> Microsoft MVP - Terminal Server
>>>>>> Citrix Technology Professional
>>>>>> Provision Networks VIP
>>>>>> Forums not enough?
>>>>>> Get support from the experts at your businesshttp://jeffpitschconsulting.com
>>>>>> D...[ at ]HOTMAIL.COM wrote:
>>>>>>> Hello,
>>>>>>> I got an appliation like a toolbar to lunch things like notepad etc
>>>>>>> (some application, just same me some type time). Before I install
>>>>>>> terminal service, it works ok. But when I got terminal service
>>>>>>> installed, it failed to launch. (e.g. when the toolbar tries to launch
>>>>>>> notepad,it gives out error:
>>>>>>> Unable to find notepad.exe in "C:\documents and settings\administrator
>>>>>>> \windows\".
>>>>>>> So why it is searching that path?
>>>>>>> If I remove terminal service, the application will be OK again.
>>>>>>> Many Thanks
>>>>>>> Jerry
>>>>> Just reinstalled the program and it behaved the same.
>>>>> Any ideas?
>>>>> Many Thanks
>>> Don't know, it is a appliaction we got long time ago.
>>> Interestingly, it calls wordpad without any problem. But not notepad.
>
> Will try.
> Process monitor may be a good idea. Maybe I can use fileMon and
> process Monitor.
> Many Thanks
>
Re: Why this happens in terminal service?
"Soo Kuan Teo [MSFT]" <sookuant[ at ]online.microsoft.com> 12.07.2007 15:34:35
Is your toolbar customizable? Is it possible to update the path for
Notepad.exe?
Thanks
Soo Kuan


--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Jeff Pitsch" <Jeff[ at ]Jeffpitschconsulting.com> wrote in message
news:%23oarA8IxHHA.2132[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text]
> Process monitor is the new filemon/regmon.
>
> Jeff Pitsch
> Microsoft MVP - Terminal Server
> Citrix Technology Professional
> Provision Networks VIP
>
> Forums not enough?
> Get support from the experts at your business
> http://jeffpitschconsulting.com
>
> DAXU[ at ]HOTMAIL.COM wrote:
>> On 12 Jul, 14:25, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
>>> Is it possible to contact the vendor? You could also try running
>>> process monitor from sysinternals to see if their is something to be
>>> seen.
>>>
>>> Jeff Pitsch
>>> Microsoft MVP - Terminal Server
>>> Citrix Technology Professional
>>> Provision Networks VIP
>>>
>>> Forums not enough?
>>> Get support from the experts at your
>>> businesshttp://jeffpitschconsulting.com
>>>
>>> D...[ at ]HOTMAIL.COM wrote:
>>>> On 12 Jul, 13:12, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
>>>>> How is it calling Notepad? Kinda weird it's pulling the wrong path
>>>>> like
>>>>> that.
>>>>> Jeff Pitsch
>>>>> Microsoft MVP - Terminal Server
>>>>> Citrix Technology Professional
>>>>> Provision Networks VIP
>>>>> Forums not enough?
>>>>> Get support from the experts at your
>>>>> businesshttp://jeffpitschconsulting.com
>>>>> D...[ at ]HOTMAIL.COM wrote:
>>>>>> On 11 Jul, 17:36, Jeff Pitsch <J...[ at ]Jeffpitschconsulting.com> wrote:
>>>>>>> Try reinstalling the app after TS is enabled.
>>>>>>> Jeff Pitsch
>>>>>>> Microsoft MVP - Terminal Server
>>>>>>> Citrix Technology Professional
>>>>>>> Provision Networks VIP
>>>>>>> Forums not enough?
>>>>>>> Get support from the experts at your
>>>>>>> businesshttp://jeffpitschconsulting.com
>>>>>>> D...[ at ]HOTMAIL.COM wrote:
>>>>>>>> Hello,
>>>>>>>> I got an appliation like a toolbar to lunch things like notepad etc
>>>>>>>> (some application, just same me some type time). Before I install
>>>>>>>> terminal service, it works ok. But when I got terminal service
>>>>>>>> installed, it failed to launch. (e.g. when the toolbar tries to
>>>>>>>> launch
>>>>>>>> notepad,it gives out error:
>>>>>>>> Unable to find notepad.exe in "C:\documents and
>>>>>>>> settings\administrator
>>>>>>>> \windows\".
>>>>>>>> So why it is searching that path?
>>>>>>>> If I remove terminal service, the application will be OK again.
>>>>>>>> Many Thanks
>>>>>>>> Jerry
>>>>>> Just reinstalled the program and it behaved the same.
>>>>>> Any ideas?
>>>>>> Many Thanks
>>>> Don't know, it is a appliaction we got long time ago.
>>>> Interestingly, it calls wordpad without any problem. But not notepad.
>>
>> Will try.
>> Process monitor may be a good idea. Maybe I can use fileMon and
>> process Monitor.
>> Many Thanks
>>

Re: Why this happens in terminal service?
"TP" <tperson.knowspamn[ at ]mailandnews.com> 12.07.2007 16:54:08
Hi Jerry,

It seems that your toolbar program is checking for the windows
directory using GetWindowsDir and then using that as a
basis to launch notepad.exe. This makes partial sense because
notepad.exe is located at %systemroot%\notepad.exe, however,
under a terminal services session GetWindowsDir will return the
user-specific windows directory instead of the *real* one.

In order to fix this you can set a compatibility flag for your toolbar
program. For example, if your toolbar program is named toolbar.exe
you would need to make the following registry additions:

1. Create the following registry key, substituting the real program
exe file name (without the .exe) for TOOLBAR:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\TOOLBAR

2. Create the following registry value under the above key:

Flags REG_DWORD 0x00000408

See this document for more information:

Program compatibility flags

http://technet2.microsoft.com/windowsserver/en/library/df78c476-00d5-41f0-a21d-e1e12e3d1f8b1033.mspx

Thanks.

-TP

DAXU[ at ]HOTMAIL.COM wrote:
[Quoted Text]
> Hello,
>
> I got an appliation like a toolbar to lunch things like notepad etc
> (some application, just same me some type time). Before I install
> terminal service, it works ok. But when I got terminal service
> installed, it failed to launch. (e.g. when the toolbar tries to launch
> notepad,it gives out error:
> Unable to find notepad.exe in "C:\documents and settings\administrator
> \windows\".
>
> So why it is searching that path?
>
> If I remove terminal service, the application will be OK again.
>
> Many Thanks
> Jerry

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net