Log in

View Full Version : Vista sob service installation



engracio
11-25-2007, 04:49 PM
Hey guys, tried the sticky instruction and I get this. I've tried the different variations as the howto suggests. Any ideas?

D:\sb>runas /engracio:administrator@%COMPUTERNAME% sobsvc.exe -i
RUNAS USAGE:

RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ]
/user:<UserName> program

RUNAS [ [/noprofile | /profile] [/env] [/savecred] ]
/smartcard [/user:<UserName>] program

RUNAS /trustlevel:<TrustLevel> program

/noprofile specifies that the user's profile should not be loaded.
This causes the application to load more quickly, but
can cause some applications to malfunction.
/profile specifies that the user's profile should be loaded.
This is the default.
/env to use current environment instead of user's.
/netonly use if the credentials specified are for remote
access only.
/savecred to use credentials previously saved by the user.
This option is not available on Windows Vista Home or Windo
ws Vista Starter Editions
and will be ignored.
/smartcard use if the credentials are to be supplied from a
smartcard.
/user <UserName> should be in form USER@DOMAIN or DOMAIN\USER
/showtrustlevels displays the trust levels that can be used as arguments
to /trustlevel.
/trustlevel <Level> should be one of levels enumerated
in /showtrustlevels.
program command line for EXE. See below for examples

Examples:
> runas /noprofile /user:mymachine\administrator cmd
> runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"
> runas /env /user:[email protected] "notepad \"my file.txt\""

NOTE: Enter user's password only when prompted.
NOTE: /profile is not compatible with /netonly.
NOTE: /savecred is not compatible with /smartcard.

D:\sb>

Joh14vers6
11-26-2007, 02:36 AM
you forgot to put the option "/noprofile" in your command.

engracio
11-26-2007, 09:27 AM
I added the /noprofile on the command line and I still get the howto message. Again tried different variations on the command line and still the same.

Since I have just installed this OS and have not really configured it at all, I have a feeling something is not turn on to where I can run/install a service. Just my guess. I have used the "administrator' and "user" account to try to install the service. SOB does install in vista but it only runs on 1 cpu not the usual two

Otherwise I have dual booted this box and currently running xp2 with both cpu runnning secondpass.

engracio
11-28-2007, 11:11 PM
For those vista users running sob I have a question. Where is the k/n pair on the registry like it is on XP. On XP it usually have at least the cache setting on the registry. On Vista all it has is the config settings but no cache.

A more direct question is that is this client compatible with Vista or is my Vista setup all whacked out.:(

Joe O
11-30-2007, 08:52 AM
Just as a guess by looking at the examples you posted
D:\sb>runas /engracio:administrator@%COMPUTERNAME% sobsvc.exe -i
should be
D:\sb>runas /user:administrator@%COMPUTERNAME% sobsvc.exe -i

the /user is a keyword and not to be replaced with your username.

engracio
11-30-2007, 10:27 AM
Just as a guess by looking at the examples you posted
D:\sb>runas /engracio:administrator@%COMPUTERNAME% sobsvc.exe -i
should be
D:\sb>runas /user:administrator@%COMPUTERNAME% sobsvc.exe -i

the /user is a keyword and not to be replaced with your username.


Thanks Joe, but I tried that too.:( Got the box running 1 sob and 1 prp on the other cpu. Also I still could not see the cache setting on the vista registry in case I wanted to restart a lost k/n.

I know not many people transitioned to Vista yet so answer will still be rare.

IronBits
12-01-2007, 10:31 AM
Ok, put Vista on a box to see what was going on here.
I run as Administrator sobsvc.exe -i, it says it installed, I can start and stop it with "net start/stop Seventeen or Bust Service" and it does so perfectly.
What it doesn't do is start the clients :(

I think I may have stumbled upon the problem tho...
When I run SB.exe I get the following message in an error dialog box.

SB v2.5.0
There was an error reading the SB working directory from the registry.
The installer stores this value normally so please reinstall.
If you don't SB may crash or lose the cache files.

BTW, for those of you that would like to run a cmd.exe prompt as admin, here ya go.
C:\WINDOWS\system32\runas.exe /u:Administrator "%windir%\System32\cmd.exe /k cd c:\ && color fc && title ***** Admin console *****"

IronBits
12-01-2007, 10:41 AM
To get runas working properly, you may need to do the following

This is a Group Policy Setting

Go to GPEDIT.msc
Select Computer Configuration - Windows Settings - Local Policies - Security Options

There are several here for "User Account Control" (Toward the bottom)

Choose the one with Behavior of the eleveation prompt for Administrators.....

Set it to Prompt for Credentials

Then run a gpupdate /force

jasong
12-01-2007, 09:28 PM
Ok, put Vista on a box to see what was going on here.
You make it sound like it's as easy as picking up a carton of eggs at the grocery store. I'm guessing it was off to the side and you simply glanced at it every 5-10 minutes, am I right?

From what I've heard, setting up Vista is a pain in the ass, if one expected to get out of the house on the night they decided to install it would be naive. Although if you're not planning on going anywhere and not obsessed with that particular computer, it's probably a much easier experience.

IronBits
12-07-2007, 03:27 AM
Vista is just as easy to install as Windows or Linux. You just have to wait much longer for it to install.

I finally had more time to look the situation over more closely.
You have to install SB250.exe as Administrator (right click on it, run as Administrator) to get the registry entries created.
Then I created a shortcut to sobsvc.exe and added the parameters I wanted (-i -p:4:0) for 4 clients agressive
Then I ran SB.exe as Administrator (configured my UserID/Team etc. saved and exited SB.exe)
Then I made sure the Seventeen or Bust Service was set to interact with Desktop (default) and set to manual.
Then to control it, you use:
net start "Seventeen or Bust Service" (to start it)
and it did start all 4 clients.
net stop "Seventeen or Bust Service" (to stop it)

-----------
Here is the weird part, even tho the service is set to interact with the desktop and I used the -k toggle to show the icons in the icon tray, they don't show up, AND, you get a pop up window from Vista you can't get rid of, like the pic below.
If you click the 'here' dialog, your Desktop disappears, but, you will indeed see all 4 clients running in the familiar SB windows we are all used to seeing, then you have to click 'here' again to return to your desktop, which again hides the clients, but you get this dialog box back.
I'll stop there for now.
http://www.dbestern.com/images/vista_sob_dialog.jpg
I'm more interested in seeing what a quad Xeon 2.66GHz Mac Pro can crank out via Boot Camp and Vista ;)

IronBits
12-07-2007, 11:53 AM
Interesting observations:
1) When you click on the 'Show me the message' - you lose your VNC connection. :(
2) When you go to the console monitor to see what's going on, all 4 SOB clients are running at 100%, i.e. faster. :)

IronBits
12-08-2007, 03:52 AM
After doing some more research, I have learned there is no way to have a service start a program and have it interact with a user Desktop, or show it on the desktop of Vista, in the name of security. :bang:
The application will have to be re-written just for M$'s version of what an OS should be, and how we should use it.
Tomorrow, I will be formating the drive and installing XP from scratch.

engracio
12-08-2007, 10:46 AM
After doing some more research, I have learned there is no way to have a service start a program and have it interact with a user Desktop, or show it on the desktop of Vista, in the name of security. :bang:
The application will have to be re-written just for M$'s version of what an OS should be, and how we should use it.
Tomorrow, I will be formating the drive and installing XP from scratch.


Ironbits,

Thanks for all your hard work in looking into this issue. I have always suspected that might be the case because of all the wierd things that pop up with SOB on Vista. I also suspected it was the user (me:lmao: ) but I think you might have proven me wrong or not.

Just wondering what would happen to none hard core dc'r running Vista. Would they stick around or go to greener pasture. Granted Vista users might not grow any time soon, but who knows. Maybe the project will be over before we need Vista client.:thumbs:

IronBits
12-08-2007, 11:17 AM
Just wondering what would happen to none hard core dc'r running Vista. Would they stick around or go to greener pasture. Granted Vista users might not grow any time soon, but who knows. Maybe the project will be over before we need Vista client.:thumbs: Well, they don't get to SEE what's going on with the clients using the Service install (the only way to run multiple clients), or, they can just click on the sb.exe and run one instance, that's about it. ;)
I believe Vista was developed from Windows ME and I'm downgrading to XP so I can go faster and have the OS run my way. ;)

fetofs
01-13-2008, 07:55 PM
So, here's what I've done:

created a shortcut to sobsvc with command "C:\Program Files\SB\sobsvc.exe" -i -p:2:0
run as admin
service "Seventeen or Bust service" appears at the list at "services.msc".
start the service
nothing happens and my cEM/s rate drops to 0

I just can't stand the fact that half of my computer's idle time is not being used at all... Anything I can do to solve the problem without losing any previous work? I don't really care if I don't see it, if it works without bugging me.

NicColt
03-28-2008, 08:23 PM
So is there a fix for this or are we just out of luck. How bout the beta client can it run 4 clients in vista ?

I can't believe that I just got a Q6600 with vista and can't run more than one client.

Max Dettweiler
03-29-2008, 12:32 AM
So is there a fix for this or are we just out of luck. How bout the beta client can it run 4 clients in vista ?

I can't believe that I just got a Q6600 with vista and can't run more than one client.
Maybe somebody could try compiling the Linux version for Windows? It doesn't use the registry at all, so there should be no limit on how many of those you can run. :)

umccullough
03-29-2008, 01:55 AM
Maybe somebody could try compiling the Linux version for Windows? It doesn't use the registry at all, so there should be no limit on how many of those you can run. :)

Doesn't look likely (see following thread for existing discussion):

http://www.free-dc.org/forum/showthread.php?t=13812

Joh14vers6
03-29-2008, 01:41 PM
So is there a fix for this or are we just out of luck. How bout the beta client can it run 4 clients in vista ?

I can't believe that I just got a Q6600 with vista and can't run more than one client.

There is also a workaround made by Dukebox called multisob. You can find it at his statssite at sob.qik.nl, but sobsvc without the client icons visible should work anyway in Vista.

[DPC]Bubbles
04-13-2008, 05:04 PM
There is also a workaround made by Dukebox called multisob. You can find it at his statssite at sob.qik.nl, but sobsvc without the client icons visible should work anyway in Vista.
Indeed. I managed to get SoB using the 'run as administrator' method. Then I started a commandline, again using 'run as administrator' and made SoB to run as a service, including the -o2 switch so it could take use of the second core on my computer.

As mentioned before, it is too bad this way you can't see the GUI's and monitor what is going on (e.g. see how fast you're going). When I receive my quadcore in time (that means, this month), I'm sure as hell going to try multisob, so I can actually know how much cEMs/s I'm doing.