windows service console disappeared when the SRVANY.exe in installed in Win2003

  • Thread starter Thread starter JPractitioner
  • Start date Start date
J

JPractitioner

Hi All,

I have a windows service (which is using srvany.exe to *turn on* the
..exe i programmed). I set the "Allow service to interact with desktop"
flag on. When i run the service in windows XP, I can see the black and
white (dos) console as meant to be.

However...

the service is meant to run on a production server (os: windows 2003).
The service run successfully on that machine in terms of functionality.
However, I could not see the black and white console anymore :(

Is there any way i can configure the windows2003 on the production
server to address this issue?

In short, i just need to see the console on the production server (win
2003).

Thanks in advance.
 
You'll probably need to be logged on with the same credentials as the
service starts up with.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

| Hi All,
|
| I have a windows service (which is using srvany.exe to *turn on* the
| .exe i programmed). I set the "Allow service to interact with desktop"
| flag on. When i run the service in windows XP, I can see the black and
| white (dos) console as meant to be.
|
| However...
|
| the service is meant to run on a production server (os: windows 2003).
| The service run successfully on that machine in terms of functionality.
| However, I could not see the black and white console anymore :(
|
| Is there any way i can configure the windows2003 on the production
| server to address this issue?
|
| In short, i just need to see the console on the production server (win
| 2003).
|
| Thanks in advance.
|
 
Hi Dave,
Thanks for the reply.

When i installed the service, i was loging on as administrator. The
service was set to run on Local System Account (at the log on tab of
the service property, Log on - Local System Account, and then i
checked-on the interact with desktop checkbox). After applying that,
and restarting the service, the console still not appeared. I even
restarted the server and tried to log on again as Administrator but
still no difference.

Then i treid to set the service with Administrator as the specified
credential. I did this by, clicking at the log on tab of the service
property, Log on - clicked-on This Account radio button, with "the
interact with desktop checkbox" checked-on and by the way I log on as
Administrator, and specified the service is to be used with
Administrator's log on credential. Still not making the difference.

I know, it sounds weird.. doesnt make any sense because, the same thing
work on my windows xp. Is there any compatibility issuse that can be
targeted?

Thanks anyway, dave.. i do appreciate.
 
Kind of hard to say what to expect from an app that's forced to run as a
service. Did it ever run as an application?

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

| Hi Dave,
| Thanks for the reply.
|
| When i installed the service, i was loging on as administrator. The
| service was set to run on Local System Account (at the log on tab of
| the service property, Log on - Local System Account, and then i
| checked-on the interact with desktop checkbox). After applying that,
| and restarting the service, the console still not appeared. I even
| restarted the server and tried to log on again as Administrator but
| still no difference.
|
| Then i treid to set the service with Administrator as the specified
| credential. I did this by, clicking at the log on tab of the service
| property, Log on - clicked-on This Account radio button, with "the
| interact with desktop checkbox" checked-on and by the way I log on as
| Administrator, and specified the service is to be used with
| Administrator's log on credential. Still not making the difference.
|
| I know, it sounds weird.. doesnt make any sense because, the same thing
| work on my windows xp. Is there any compatibility issuse that can be
| targeted?
|
| Thanks anyway, dave.. i do appreciate.
 
Yes Patrick,
It is running perfectly as an app. Even on the server, the app (.exe)
is running perfectly. Even as a service it is running perfectly (on the
server). Its just that as a service, the catch is.. no display.
Regardless of what happened in the server, the service is 100% OK on my
pc.

Actually the app is a java application, to meet high availability
requirement, I got to have it as a service.

I will try to do it on a windows 2000 machine later.

Thanks.
 
Hi
I got the same problem (though my application is not java but rather c#).
Maybe now, 5 years later than the OP, someone has might know more of this?:drool:

Thanks.
 
Back
Top