![]() |
Prime95 on ghosted machines
I want to run Prime95 on 6 machines that are on 24/7 but ghosted every night at 2am
Before I try loads of different things, what is the best way to do this? Thoughts so far, Run Prime95 from a \\servername\share Have a schedule that copies the mersenne directory to a server and then back again once ghosted? Thoughts please! Lawrence...... |
[QUOTE=lozcs]Run Prime95 from a \\servername\share[/QUOTE]
Looks like a good idea. |
why not run prime95 straight from the server with a bat file.
|
[QUOTE=moo]why not run prime95 straight from the server with a bat file.[/QUOTE]
so set up the shares for each PC on the server eg. \\server\computername the on the client simply call \\server\%computername%\prime95.exe That's it? |
if your users logout, then you might not be able to run the prime95 as a service
|
lets play the game then
make a schduled task that runs each time the computer starts have it call \\servername\%computername%\prime95.exe have it run under admin account. if its xp all the better ok so use that as what program to call have it run on startup and you should be set. if you get to a client machine and get on msn i can show you clearly how to do it. |
So I can use the variable %computername% in the scheduler - as long as the shares are in place?
[QUOTE=moo]lets play the game then make a schduled task that runs each time the computer starts have it call \\servername\%computername%\prime95.exe have it run under admin account. if its xp all the better ok so use that as what program to call have it run on startup and you should be set. if you get to a client machine and get on msn i can show you clearly how to do it.[/QUOTE] |
yes you should.
|
Hi,
Just added another 5 P4 machines to this network so working on this now... I have created the shares on the server \\servername\01$ 02$ etc first I mapped a M drive to the share then tried to install the ntprime service. This installed OK but couldn't start So I tried to run prime95.exe from the share \\servername\01$\prime95.exe and I get the following error. [SIZE="2"]ERROR: unable to open spool file unable to open log file ERROR: unable to open spool file unable to open log file ERROR: unable to open spool file unable to open log file ERROR: unable to open spool file unable to open log file Mersenne number primality test program version 24.14 Cannot write to file worktodo.ini Error opening results file to output this message: Unable to open log file. Cannot write to file worktodo.ini Unable to open log file. Will try contacting server again in 60 minutes[/SIZE] Can anyone help? Thanks, Lawrence...... [QUOTE=moo;74453]lets play the game then make a schduled task that runs each time the computer starts have it call \\servername\%computername%\prime95.exe have it run under admin account. if its xp all the better ok so use that as what program to call have it run on startup and you should be set. if you get to a client machine and get on msn i can show you clearly how to do it.[/QUOTE] |
A service wil not be able to start from a share since the share will not be present at startup.
I see two possible causes : - the clients do not have write access to their shares. - more probable since I suppose you already checked that, prime95 cannot run from an unc location. So you must start prime95 from your M:\ drive not from the UNC. You could use one share only with subdirectories per computer. A batch file like this should do the job : Prime95_start.cmd[CODE]net use M: \\SERVERNAME\PRIME95$ M: cd \%computername% start prime95.exe[/CODE]Next you put this batch file in the windows directory for instance and add the following to the registry of your ghost sources to have the batch file run at startup with the system account :[CODE]Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] "Prime95"="C:\\Windows\\Prime95_start.cmd"[/CODE] |
try this
right click on server share and click allow users to change my files also you might want the main share to include a dollar sign after it so sharename$ this will hide the share. |
| All times are UTC. The time now is 20:49. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.