Bitcoin Forum
April 26, 2024, 10:15:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Can i run cgminer in the background? no window?  (Read 17287 times)
finway (OP)
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


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

Cause Symantec stops me run cgminer.exe for help.

1714169720
Hero Member
*
Offline Offline

Posts: 1714169720

View Profile Personal Message (Offline)

Ignore
1714169720
Reply with quote  #2

1714169720
Report to moderator
1714169720
Hero Member
*
Offline Offline

Posts: 1714169720

View Profile Personal Message (Offline)

Ignore
1714169720
Reply with quote  #2

1714169720
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Queelis
Newbie
*
Offline Offline

Activity: 36
Merit: 0


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 (OP)
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


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

Thanks!

Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


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
Merit: 100


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: 476
Merit: 250

Power to the people!


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

alot of av are reporting miners as viri now cause of the botnets
jake262144
Full Member
***
Offline Offline

Activity: 210
Merit: 100


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: 186
Merit: 100



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: 448
Merit: 250


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
Merit: 100


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: 1731
Merit: 1008



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
Merit: 500


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
Merit: 100


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

very useful  Smiley
rchapoteau
Newbie
*
Offline Offline

Activity: 56
Merit: 0



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

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

Activity: 1204
Merit: 1001


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
Merit: 0



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.
milone
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


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
Merit: 0



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

Yop I test today CGWatcher and its AWSOME. Rly good work, keep going.
mxz280
Member
**
Offline Offline

Activity: 100
Merit: 10



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
Merit: 0



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.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!