??WINDOWS 7 VBS script or BAT to set processor affinity??

philkryder
philkryder used Ask the Experts™
on
I'd like a BAT file or VBS file
that I can put into
ALL USERS STARTUP
that can set
 PROCESSOR AFFINITY
in WINDOWS 7
for a particular
PROCESS
called
MSaccess.exe

Full points for providing the source code IN the response.

Thanks!
Phil
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015

Commented:

Author

Commented:
interesting,
but,
I was asking for something to
SET the AFFINITY
of an already executing process.

those solutions appear to either be manual (task mgr)
or
require me to START the process.

did I misunderstand what they do?
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Author

Commented:
>>What about this one: http://beyondlogic.org/solutions/processutil/processutil.htm<<<

interesting -
a couple of things -
when I started to download it,
MY MCAFEE on access scanner said PRCVIEWER was a virus and deleted it.

also,
this seems to have nothing since 2003?
I need it for a windows 7 machine.

Author

Commented:
?? anything here??
"Batchelor", Developer and EE Topic Advisor
Top Expert 2015
Commented:
I could have sworn I've already answered ... Strange.

PRCVIEWER is a Potential Privacy Risk, not a Virus. Your McAfee is set up too strict. In the McAfee website note it is clearly stated that it can, but does not need to, be malicious. The purpose of this tool is exactly that: Define the affinity, priority and similar, which is not really dangerous. You want to do that.
The affinity thing has not changed (much) with W7. It has been extended, and differs between logical and physical processors, but that is all. The tool still works.


Author

Commented:
Any solution that don't trigger the virus warning?
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
No. McAfee will detect any such attempt as an security privacy risk.

Author

Commented:
did not like the mcafee warnings.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial