mersenneforum.org Prime95 on Windows 7?
 Register FAQ Search Today's Posts Mark Forums Read

 2010-03-28, 18:38 #1 ixfd64 Bemusing Prompter     "Danny" Dec 2002 California 238210 Posts Prime95 on Windows 7? As we know, running Prime95 on Vista can be somewhat tricky: 1. Prime95 cannot be placed in the "Program Files" directory because Vista does not allow users to write to that folder. 2. Enabling the "Start at Bootup" option will cause Prime95 to act up; instead, a shortcut to Prime95 must be placed in the "Startup" folder. Does anyone know if there are any similar issues associated with running Prime95 on Windows 7? I've never touched Windows 7 before, but chances are that I'll inevitably be using it in the future. Last fiddled with by ixfd64 on 2019-03-21 at 22:21
 2010-03-28, 18:47 #2 Mini-Geek Account Deleted     "Tim Sorbera" Aug 2006 San Antonio, TX USA 102538 Posts I don't have experience with Windows Vista or 7, but I think that both of those problems are the same between Vista and 7.
 2010-03-28, 19:50 #3 pegaso56     Oct 2006 Rosario, Argentina 37 Posts Hi, short answer, mostly yes. Make a folder in my documents, or public documents. And why don't you try Linux? Best regards, Carlos
2010-03-28, 20:12   #4
joblack

Oct 2008
n00bville

52·29 Posts

Quote:
 Originally Posted by ixfd64 As we know, running Prime95 on Vista can be somewhat tricky: 1. Prime95 cannot be placed in the "Program Files" directory because VIsta does not allow users to write to that folder. 2. Enabling the "Start at Bootup" option will cause Prime95 to act up; instead, a shortcut to Prime95 must be placed in the "Startup" folder. Does anyone know if there are any similar issues associated with running Prime95 on Windows 7? I've never touched Windows 7 before, but chances are that I'll inevitably be using it in the future.
You can put prime95 in the Program Files folder but you have to give yourself (your user not the administrator) writing rights in the folder. Additionally I've found out that you have a performance lost if you use Prime95 in that folders (there seem to be additional win 7 tests which needs more time in writing).

I just moved the complete Prime95 folder in c:\Prime95 and I never got any problems (autostart works like a charm) with Win7 anymore ...

Last fiddled with by joblack on 2010-03-28 at 20:13

2010-03-29, 01:29   #5

"Richard B. Woods"
Aug 2002
Wisconsin USA

170148 Posts

Quote:
 Originally Posted by ixfd64 1. Prime95 cannot be placed in the "Program Files" directory because VIsta does not allow users to write to that folder.
Quote:
 Originally Posted by joblack You can put prime95 in the Program Files folder but you have to give yourself (your user not the administrator) writing rights in the folder. Additionally I've found out that you have a performance lost if you use Prime95 in that folders (there seem to be additional win 7 tests which needs more time in writing).
Has either of you tried what's described in undoc.txt, to use a different directory for the writeable files?

Code:
In prime.txt you can force the program to use different filenames for 6 files.
You can also change the working directory (identical to the -W command line
argument).
prime.ini=your_filename
local.ini=your_filename
worktodo.ini=your_filename
prime.log=your_filename
prime.spl=your_filename
results.txt=your_filename
WorkingDir=your_directory_name

2010-03-29, 08:33   #6
joblack

Oct 2008
n00bville

13258 Posts

Quote:
 Originally Posted by cheesehead Has either of you tried what's described in undoc.txt, to use a different directory for the writeable files? Code: In prime.txt you can force the program to use different filenames for 6 files. You can also change the working directory (identical to the -W command line argument). prime.ini=your_filename local.ini=your_filename worktodo.ini=your_filename prime.log=your_filename prime.spl=your_filename results.txt=your_filename WorkingDir=your_directory_name
It might be easier to move it out of the program files directory.

2010-03-29, 17:57   #7

"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts

Quote:
 Originally Posted by joblack It might be easier to move it out of the program files directory.
Does that mean you have not tried the undoc.txt method?

2010-03-29, 18:02   #8
joblack

Oct 2008
n00bville

52·29 Posts

Quote:
 Originally Posted by cheesehead Does that mean you have not tried the undoc.txt method?
No I moved the complete folder out of the win7 protection area ...

 2010-03-29, 21:27 #9 cheesehead     "Richard B. Woods" Aug 2002 Wisconsin USA 22×3×641 Posts Okay. - - - I remain interested in reports from folks who have tried the undoc.txt method. Please let me know whether you found that a satisfactory alternative.
2010-03-29, 23:41   #10
joblack

Oct 2008
n00bville

52×29 Posts

Quote:
 Originally Posted by cheesehead Okay. - - - I remain interested in reports from folks who have tried the undoc.txt method. Please let me know whether you found that a satisfactory alternative.
But let me say that under the windows programming specification it's a bad decision to write in the program files folder. It might be a good idea to give the user the chance to save the data in the profile (for instance in the installation process).

That would have the advantage that several user in a multiuser system could use the same executable (and the information could be saved on the server profile) ...

2010-03-30, 01:35   #11

"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts

Quote:
 Originally Posted by joblack But let me say that under the windows programming specification
which I'm not familiar-with except by inference from comments
Quote:
 it's a bad decision to write in the program files folder.
What is the approved method of communicating to an executable either (a) a set of changeable parameters in some file within the program files folder, or (b) a pointer to a file containing such parameters in another folder?

 Similar Threads Thread Thread Starter Forum Replies Last Post Primeinator Information & Answers 3 2011-12-11 19:23 Unregistered Information & Answers 14 2010-04-10 21:47 Axel Fox Software 5 2006-09-14 13:18 LargestPrime Software 2 2004-09-19 13:36 optim Software 9 2003-11-13 04:59

All times are UTC. The time now is 22:35.

Sat May 8 22:35:48 UTC 2021 up 30 days, 17:16, 0 users, load averages: 3.11, 3.04, 3.13