| View previous topic :: View next topic |
| Author |
Message |
sgniwder Replay user

Joined: 23 May 2004 Posts: 96
|
Posted: Mon May 14, 2012 7:08 am Post subject: Stop Wirns From Starting From Command Line |
|
|
I have WiRNS set to start as a service and to not always run from the service perspective. I've set the 'Load WiRNSMON' at Windows startup selected and Show Splash Screen at startup not selected.
Everytime I do an update or make any changes it starts back up from the command line. How do I stop this and go back to a service always?
Note: I must admit that at one time I selected the Show Splash Screen and then unselected it once this started occuring...
I've also checked registry settings and they appear correct to me...
any help would be appreciated... |
|
| Back to top |
|
 |
hdonzis Moderator

Joined: 05 Jan 2005 Posts: 7833 Location: San Antonio, TX
|
Posted: Mon May 14, 2012 8:32 am Post subject: |
|
|
Glenn posted here that he changed WiRNSMon to work that way. However, I didn't think that it would attempt to start WiRNS running unless it was already running, so it only should have started WiRNS back up as an application if it was running when you do an update. In addition, he posted that it would only start it in application mode if the WiRNS service was not installed or was disabled, but I assume you have it in manual mode if you are running it when you want to...
You might want to contact Glenn about your situation...
Henry _________________ Here's my Poop |
|
| Back to top |
|
 |
sgniwder Replay user

Joined: 23 May 2004 Posts: 96
|
Posted: Mon May 14, 2012 11:50 am Post subject: |
|
|
Thanks Henry. I thought I had saw something in the past, but couldn't locate it (and I'm normally the to say search first...).
That's just it, I do have it running as a service and it's enabled. It only starts as a service with boot up. Subsequent starts from the taskbar icon only run from the command line. If I start it from the services menu, then it runs as a service...
I'll do some more checking on this on my box... |
|
| Back to top |
|
 |
hdonzis Moderator

Joined: 05 Jan 2005 Posts: 7833 Location: San Antonio, TX
|
Posted: Mon May 14, 2012 11:58 am Post subject: |
|
|
| sgniwder wrote: | | That's just it, I do have it running as a service and it's enabled. It only starts as a service with boot up. Subsequent starts from the taskbar icon only run from the command line. If I start it from the services menu, then it runs as a service... |
I don't follow, if it's started as a service with boot up, then how is there a subsequent start to start it from the command line?
Henry _________________ Here's my Poop |
|
| Back to top |
|
 |
sgniwder Replay user

Joined: 23 May 2004 Posts: 96
|
Posted: Mon May 14, 2012 1:04 pm Post subject: |
|
|
Maybe I'm not explaining it correctly, but that's what I don't get either.
If I right mouse click on the icon in the taskbar to either restart or to check for updates, when it restarts it starts from the command line... |
|
| Back to top |
|
 |
hdonzis Moderator

Joined: 05 Jan 2005 Posts: 7833 Location: San Antonio, TX
|
Posted: Mon May 14, 2012 1:24 pm Post subject: |
|
|
| sgniwder wrote: | | If I right mouse click on the icon in the taskbar to either restart or to check for updates, when it restarts it starts from the command line... |
OK, I get it now, you are taking some action that is causing it to restart, and then it starts from the command line instead.
Are you running WiRNS 3?
It may be time to get Glenn involved since this sounds like something he was trying to correct previously...
Henry _________________ Here's my Poop |
|
| Back to top |
|
 |
sgniwder Replay user

Joined: 23 May 2004 Posts: 96
|
Posted: Tue May 15, 2012 7:15 am Post subject: |
|
|
Yes, Running WiRNS 3.
I seem to recall that I had a different service icon, but it didn't really align with the active process, so I switched it out as recommended in a different thread.... |
|
| Back to top |
|
 |
hdonzis Moderator

Joined: 05 Jan 2005 Posts: 7833 Location: San Antonio, TX
|
Posted: Tue May 15, 2012 9:13 am Post subject: |
|
|
I looked briefly at the code, and didn't see anything that should make it function as you are experiencing. If it is running as a service and it stops and restarts it, it should restart it as a service. The fact that others aren't complaining about it not restarting as a service makes me wonder if there's something strange with your particular setup. Hopefully Glenn can get involved...
Can you look at the properties of WiRNSMon.exe and post what version it is?
Henry _________________ Here's my Poop |
|
| Back to top |
|
 |
sgniwder Replay user

Joined: 23 May 2004 Posts: 96
|
Posted: Tue May 15, 2012 11:09 am Post subject: |
|
|
It's not the biggest deal, but just a minor irritant, so I appreciate your help with this.
My WiRNSMon Version 3.0.4338.30078 |
|
| Back to top |
|
 |
hdonzis Moderator

Joined: 05 Jan 2005 Posts: 7833 Location: San Antonio, TX
|
Posted: Tue May 15, 2012 11:16 am Post subject: |
|
|
| sgniwder wrote: | | My WiRNSMon Version 3.0.4338.30078 |
Well, that's the current version posted. I just wasn't sure when you mentioned about switching out the version...
Glenn mentioned that maybe it has something to do with your VM, that maybe it can't detect that WiRNS is running as a service for some reason?
When did this problem start? Has it always been this way, or did it start recently?
Henry _________________ Here's my Poop |
|
| Back to top |
|
 |
sgniwder Replay user

Joined: 23 May 2004 Posts: 96
|
Posted: Wed May 16, 2012 4:57 am Post subject: |
|
|
Glenn contacted me and to discuss and we are investigating this.
Once it is resolved, I will update this for any others that may have this issue. IIRC this started when I updated to the new WiRNS Mon from the old one (3.0.4246.300) a while back. I just finally got some time and decided to look into it
Fred |
|
| Back to top |
|
 |
fbreshears Replay elitist

Joined: 22 Oct 2005 Posts: 303 Location: El Lago, Texas
|
Posted: Wed May 16, 2012 6:06 am Post subject: |
|
|
I'm also seeing this behavior on one of three machines. It started after I had started WiRNS as an application to troubleshoot a problem. If I start WiRNS from the WiRNS Monitor, it starts as an application. I can start it as a service from the WiRNS directory. _________________ Frank |
|
| Back to top |
|
 |
hdonzis Moderator

Joined: 05 Jan 2005 Posts: 7833 Location: San Antonio, TX
|
Posted: Wed May 16, 2012 8:23 am Post subject: |
|
|
| fbreshears wrote: | | I'm also seeing this behavior on one of three machines. It started after I had started WiRNS as an application to troubleshoot a problem. If I start WiRNS from the WiRNS Monitor, it starts as an application. I can start it as a service from the WiRNS directory. |
Frank, how did you get to this point? Was WiRNSMon running and used to stop WiRNS running, or did you start WiRNSMon after WiRNS already wasn't running? And, do you have WiRNS configured as a service on this machine and if so, what startup type is the service? In addition, Frank, while you are looking at the service startup type, what is the name of this service? Is it "WiRNS" or something else? Be sure and look at the Service name and not the Display name. The Service name may say WiRNS.exe instead of WiRNS...
Henry _________________ Here's my Poop |
|
| Back to top |
|
 |
sgniwder Replay user

Joined: 23 May 2004 Posts: 96
|
Posted: Wed May 16, 2012 5:25 pm Post subject: |
|
|
Yes, we discovered that my issue was that my machine had somehow had the WiRNS service named WiRNS.exe. I renamed the service and it is working correctly now. Glenn indicated that a new WiRNSmon may come out in the future to address this. I know some people are leery about renaming in the registry, but I can share that I used the link below and renamed it after I had exported out a copy of it.
I then rebooted the computer and it worked correctly.
Thanks to both Henry and Glenn!
http://thomaskrehbiel.com/post/1733-how_to_rename_a_windows_service |
|
| Back to top |
|
 |
hdonzis Moderator

Joined: 05 Jan 2005 Posts: 7833 Location: San Antonio, TX
|
Posted: Wed May 16, 2012 6:18 pm Post subject: |
|
|
Looks like Glenn posted an update for WiRNSMon, so it should be unnecessary to edit the WiRNS service name...
Frank, I'd still like to know what you find out about your WiRNS service...
Henry _________________ Here's my Poop |
|
| Back to top |
|
 |
fbreshears Replay elitist

Joined: 22 Oct 2005 Posts: 303 Location: El Lago, Texas
|
Posted: Wed May 16, 2012 6:29 pm Post subject: |
|
|
| hdonzis wrote: | Frank, how did you get to this point? Was WiRNSMon running and used to stop WiRNS running, or did you start WiRNSMon after WiRNS already wasn't running? And, do you have WiRNS configured as a service on this machine and if so, what startup type is the service? In addition, Frank, while you are looking at the service startup type, what is the name of this service? Is it "WiRNS" or something else? Be sure and look at the Service name and not the Display name. The Service name may say WiRNS.exe instead of WiRNS...
Henry |
Hi, Henry. I'm not sure how it started. I always use WiRNSMon to start/stop/restart WiRNS, but I think that I started WiRNS from the WiRNS directory to see more of what was going on when I had some problems. After that when I start WiRNS from WiRNSMon it starts the application rather than the service.
WiRNS is configured as a service with manual startup. The service name is WiRNS.exe. _________________ Frank |
|
| Back to top |
|
 |
hdonzis Moderator

Joined: 05 Jan 2005 Posts: 7833 Location: San Antonio, TX
|
Posted: Wed May 16, 2012 9:10 pm Post subject: |
|
|
| fbreshears wrote: | | WiRNS is configured as a service with manual startup. The service name is WiRNS.exe. |
Thanks, Frank! The update Glenn posted should take care of this problem, then...
Henry _________________ Here's my Poop |
|
| Back to top |
|
 |
threasoner Replay fan

Joined: 08 Jul 2011 Posts: 45
|
Posted: Thu May 17, 2012 10:18 pm Post subject: |
|
|
I am also having an issue with this. I'm running WiRNS_Main.dll 3.0 build 4520 revision 28855, and I refreshed all components this afternoon (5/17). WiRNSMon is running from the registry at startup, but there is also a service for WiRNS set to automatic.
When I check for updates or refresh all, I get a message box stating that the WiRNSMon service is already running, and when I dismiss it the tray icon disappears. At the end of the restart, I get a cmd window:
| Quote: |
C:\WINDOWS\system32>taskkill /F /IM WiRNSMon.exe
'taskkill' is not recognized as an internal or external command,
operable program or batch file.
C:\WINDOWS\system32>move /Y WiRNSMon.ex~ WiRNSMon.exe
The system cannot find the file specified.
C:\WINDOWS\system32>move /Y WiRNSMon.pd~ WiRNSMon.pdb
The system cannot find the file specified.
C:\WINDOWS\system32>start WiRNSMon.exe
|
then another message box saying it could not find WiRNSMon.exe.
I seem to be in a loop; download updates, when it tries to install them, it complains that WiRNSMon is already running and looses the tray icon, then it starts the splash screen starts and then errors that it can't find WiRNSMon in the wrong place. _________________ Poops |
|
| Back to top |
|
 |
Glenn1963 Planet Master


Joined: 26 Nov 2004 Posts: 1110 Location: Castlegar, BC
|
Posted: Fri May 18, 2012 9:58 am Post subject: |
|
|
With WiRNSMon not running, go to your WiRNS folder and run UpdateMon.bat
That should complete the WiRNSMon update. _________________ G
"I did absolutely nothing, and it was everything that I thought it could be." |
|
| Back to top |
|
 |
threasoner Replay fan

Joined: 08 Jul 2011 Posts: 45
|
Posted: Fri May 18, 2012 10:54 am Post subject: |
|
|
Thanks, Glenn. _________________ Poops |
|
| Back to top |
|
 |
hdonzis Moderator

Joined: 05 Jan 2005 Posts: 7833 Location: San Antonio, TX
|
Posted: Sun May 20, 2012 12:20 pm Post subject: |
|
|
Glenn posted an update which should take care of upgrading WiRNSMon on systems which don't have the taskkill command...
Henry _________________ Here's my Poop |
|
| Back to top |
|
 |
|