Welcome, Guest
Username Password: Remember me

Windows 2012 and Pop Collector
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Windows 2012 and Pop Collector

Windows 2012 and Pop Collector 1 year, 3 months ago #2069

  • zpitzy
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Hi

I have installed version 1.4.3 on 2012 and the "run as service" is greyed out.

I have copied instsrv.exe and srvany.exe to numerous locations:
C:\windows\syswow64
c:\program files (x86)\pop collector
c:\program files\pop collector
c:\program files (x86)\Windows Resource Kit\Tools
c:\program files\Windows Resource Kit\Tools

I have uninstalled and reinstalled, I tried version 1,4, overwriting all the directories from my 2008R@ working server, installed as administrator.

I have run regsvr32 on both files from the syswow64 directory

I have also run the following (I am not sure what this was an old fix for but is in my old notes!):
- Open an elevated command prompt (run as administrator)
- Change your path to the Windows\SysWow64 folder (e.g. type cd c:\windows\syswow64)
- Type the following commands:

regsvr32 /s /u tabctl32.ocx
regsvr32 /s tabctl32.ocx
regsvr32 /s /u mscomctl.ocx
regsvr32 /s mscomctl.ocx
regsvr32 /s /u mswinsck.ocx
regsvr32 /s mswinsck.ocx

Anyway all to no avail.

Can anyone help? Does anyone have it running as a service on 2012?
How do I manually install as a service? I know this will mean that any configuration changes will require stopping and starting the service to take affect.

Thanks

Kevin
Last Edit: 1 year, 3 months ago by zpitzy.

Re: Windows 2012 and Pop Collector 1 year, 3 months ago #2070

  • zpitzy
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
After much messing around and many combinations the following finally worked creating the service manually in the following manner:

Create the pop3 collector as a Windows service in Windwos Server 2012 Manually:

Yes you can, after many attempts at tryign all sorts of combinations the following works!

Manually create POP3Collector service :

You will need the srvany.exe executables from the Windows resource kit. (download for free from www.microsoft.com/downloads/details.aspx...d&displaylang=en )
(Installing the service with InstSrv.exe seemed to install the service but the service did not run the PCService.exe file so I used the new PowerShell commmands, although thsi could have also been because I moved SrvAny.exe to the same directory as PCService.exe, unfortunately I made two changes at once so not sure which was the solution, but to be honest I don't care as it works!)

Assuming that the POP3 Collector tool is installed under “C:\Program Files (x86)\POP Collector” and data is under "C:\ProgramData\Pop Collector":

1. Copy srvany.exe to “C:\ProgramData\POP Collector”
2. Open Powershell to create the new service:
New-Service “POPCollector” “C:\ProgramData\POP Collector\srvany.exe”
3. Open regedit and go to HKLM\System\CurrentControlSet\Services\POPCollector
4. Create a new key called “Parameters”
5. Under the new key, create a new REG_SZ (String) value called “Application”
6. set its value to C:\ProgramData\Pop Collector\PopService.exe
(the file version I have is 5/08/2010 584k (598016 bytes) Fiel Version 1.4.03

the service is created in a stopped state with Automatic starting.
7. Open services mmc and go to the "PopCollector" service
8. Start the Service
Make any other changes to suit your setup.

I tested and although the "Install Service" menu option is still greyed out, when you open and close PopCollector.exe it stops and then restarts the service (which was an unexpected bonus).

If this does not happen for you, you can use the collowing cmd file:

Create a text file "PopColl.cmd" (or any name you want!)
(if you have "Do not display extensions of known file types" turned on you will need to turn this off first otherwise teh file will have the extension "txt" appended)

net stop PopCollector
start /wait "C:\Program Files (x86)\POP Collector\PopCollector.exe”
net start PopCollector

Just as an extra:
If you want to delete a service there is no Powershell command instead forma n elevated commadn promtp run "SC DELETE ServiceName"

If anyone finds a way of making the menu options work in Windows Server 2012 then please let me know. Although I hope not to be changing anything for the next three or four years

Thanks,

Kevin

Re: Windows 2012 and Pop Collector 1 year, 2 months ago #2071

  • Pkaerlagad
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi,

Doesn't work for me. The service start end stop immediatly.

I suppose thar "POPServices.exe" in step 6 is a copy of POPCollector.exe. Isn't It?

Anyway this solution is a Workarround. May be it will be usefull to fix why the "Install as a service" stay greyed with Windows 2012 server.

Best regards
PK

Re: Windows 2012 and Pop Collector 10 months ago #2087

  • ikserv
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Does not work. Same as above.

Re: Windows 2012 and Pop Collector 5 months, 3 weeks ago #3392

  • g0zam
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
You have to implement the Folder too:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\POPCollector\Parameters]
"AppDirectory"="\"C:\\ProgramData\\POP Collector\""
"Application"="\"C:\\ProgramData\\POP Collector\\PopService.exe\""

Works fine on 2012 r2
  • Page:
  • 1
Time to create page: 0.32 seconds
Copyright © 2009 www.cedit.biz. All rights reserved.