Bitcoin Forum
December 03, 2016, 05:58:17 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: Can i run cgminer in the background? no window?  (Read 16225 times)
finway
Hero Member
*****
Offline Offline

Activity: 714


View Profile
January 05, 2012, 04:33:56 AM
 #1

Cause Symantec stops me run cgminer.exe for help.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480787897
Hero Member
*
Offline Offline

Posts: 1480787897

View Profile Personal Message (Offline)

Ignore
1480787897
Reply with quote  #2

1480787897
Report to moderator
Queelis
Jr. Member
*
Offline Offline

Activity: 36


View Profile
January 05, 2012, 10:25:12 AM
 #2

For that, try adding an exception to Symantec (the whole cgminer folder).

If you don't want to see the window, get TrayIt!. It will minimize the window to system tray.

I don't think you're able to run cgminer as a service, though.
finway
Hero Member
*****
Offline Offline

Activity: 714


View Profile
January 05, 2012, 12:09:38 PM
 #3

Thanks!

Gabi
Legendary
*
Offline Offline

Activity: 1050


View Profile
January 05, 2012, 12:10:24 PM
 #4

Start using a decent antivirus... one reporting a miner as a virus is not a good one
jake262144
Full Member
***
Offline Offline

Activity: 210


View Profile
January 06, 2012, 12:52:31 PM
 #5

Start using a decent antivirus... one reporting a miner as a virus is not a good one

I second that. Symantec just sucks.
bal3wolf
Sr. Member
****
Offline Offline

Activity: 426



View Profile
January 07, 2012, 06:37:02 PM
 #6

alot of av are reporting miners as viri now cause of the botnets

my btc address 1LRWTJS3rf8ubG2oMjcm7CmGGDJQSomdRP
Mining tools and Drivers
jake262144
Full Member
***
Offline Offline

Activity: 210


View Profile
January 07, 2012, 07:59:38 PM
 #7

A lot of av programs are crap then :<
The LT
Full Member
***
Offline Offline

Activity: 188



View Profile WWW
January 08, 2012, 11:16:23 AM
 #8

I'm also interested in running cgminer for windows as a service. So far I've tried sc.exe and NSSM without any success.
rjk
Sr. Member
****
Offline Offline

Activity: 420


1ngldh


View Profile
January 08, 2012, 12:17:23 PM
 #9

I'm also interested in running cgminer for windows as a service. So far I've tried sc.exe and NSSM without any success.
sc.exe only works if a program is specifically coded to use it. If you are on Vista or newer, running as a service will not work, because the video drivers run in usermode (I.E., you must be logged in).

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
jake262144
Full Member
***
Offline Offline

Activity: 210


View Profile
January 08, 2012, 01:30:22 PM
 #10

As to running miners in the background... will this be close enough?

Grab virtual desktop utility by Sysinternals Microsoft here:
http://technet.microsoft.com/en-us/sysinternals/cc817881

Microsoft provides Desktops totally free of charge, it requires no installation, no admin rights, and weighs just 60 kilobytes.

Run it, move all the miner windows out of your main desktop and you're good to go!
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1624



View Profile WWW
January 11, 2012, 08:28:09 AM
 #11

scheduled task on log-in, vbs file running a .bat with hide parameter.

Code:
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\cg.bat" & Chr(34), 0
Set WinScriptHost = Nothing
SysRun
Hero Member
*****
Offline Offline

Activity: 616


Portland Bitcoin Group Organizer


View Profile
February 21, 2012, 10:48:28 PM
 #12

scheduled task on log-in, vbs file running a .bat with hide parameter.

Code:
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\cg.bat" & Chr(34), 0
Set WinScriptHost = Nothing

Thanks Transisto, I'll give this a shot on my more clandestine machines.

Images are not allowed. As your member rank increases, you can use more types of styling in your signature, and your signature can be longer. See the stickies in Meta for more info.
Max 2000; characters remaining: 1781
Fcx35x10
Full Member
***
Offline Offline

Activity: 210


View Profile
October 06, 2012, 05:58:03 AM
 #13

very useful  Smiley
rchapoteau
Jr. Member
*
Offline Offline

Activity: 56



View Profile WWW
December 08, 2012, 02:43:46 AM
 #14

Where would that script run from?
xtral
Legendary
*
Offline Offline

Activity: 966


View Profile
January 23, 2013, 11:11:43 AM
 #15

RunAsSvc start a program as a service

http://www.pirmasoft.de/runassvc.php

Spende für ein Weizen an: 1NdhPG76eEzj86BDgihSWvVYSQKcA17iok
c0rrupt
Newbie
*
Offline Offline

Activity: 22


Like me? donate


View Profile WWW
May 02, 2013, 07:52:28 PM
 #16

Its not working as service with RunAsSvc. Still trying found some easy and clear way how to run cgminer as service or only in tray.

I need food Smiley help me and donate - 1Mn3ys9d1BDtV2SF2D6rj6xpiN2A3varmD
QR code (http://c0rrupt.cz/profile/donate.bmp)
milone
Sr. Member
****
Offline Offline

Activity: 434


CGWatcher & CGRemote


View Profile WWW
May 03, 2013, 07:27:24 AM
 #17

Quote
Still trying found some easy and clear way how to run cgminer as service or only in tray.

If running as a service isn't a requirement and you just want it minimized to the system tray, you can use CGWatcher to launch the miner in a hidden process, and then minimize CGWatcher to the system tray (set this in the Settings tab.) GUIMiner does this as well. Both applications provide a GUI to CGMiner and launch it as a hidden process. Then you can minimize these GUI applications to the system tray.

CGWatcher: http://manotechnology.blogspot.com/p/cgwatcher.html
GUIMiner: http://guiminer.org/

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
c0rrupt
Newbie
*
Offline Offline

Activity: 22


Like me? donate


View Profile WWW
May 03, 2013, 11:10:38 PM
 #18

Yop I test today CGWatcher and its AWSOME. Rly good work, keep going.

I need food Smiley help me and donate - 1Mn3ys9d1BDtV2SF2D6rj6xpiN2A3varmD
QR code (http://c0rrupt.cz/profile/donate.bmp)
mxz280
Member
**
Offline Offline

Activity: 103



View Profile
May 04, 2013, 08:54:52 AM
 #19

scheduled task on log-in, vbs file running a .bat with hide parameter.

Code:
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\cg.bat" & Chr(34), 0
Set WinScriptHost = Nothing
c0rrupt
Newbie
*
Offline Offline

Activity: 22


Like me? donate


View Profile WWW
May 04, 2013, 09:41:46 AM
 #20

I try that .vbs script it didnt work for me on W7 64bit. It run desired .bat and miner work but its visible Cheesy.

I need food Smiley help me and donate - 1Mn3ys9d1BDtV2SF2D6rj6xpiN2A3varmD
QR code (http://c0rrupt.cz/profile/donate.bmp)
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!