set the affinity automatically at startup of the program?

Hello..

I play a lot of older games. but we would like to keep my computer up-to-date.

I am running win7 Ultimate 64.

and am using an amd 64 x 2 5000 +.

StarCraft is an older game that often results in a computer system completely lock unless you set the processor 0 afinity every time before starting a game.

It is a pain to do whenever you launch your game...

y at - it a method or program that I can use to define starcraft to processor 0 automatically when I start so I don't have to do it manually every time?

Hello

This should work if the start in the folder on the shortcut is set in the proper folder.

c:\windows\system32\cmd.exe /C start /affinity StarCraft.exe

Alternatively, make sure that the specified path is correct.

Did you do as I said in the last post.

Go to the folder where StarCraft.exe

Create a shortcut

Change the target line as needed.

(The start on file, above the target line should be the folder where StarCraft.exe.)

Or make the bat file.

Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

Tags: Windows

Similar Questions

  • How to set the program I want to be the default program to open an image in bridge

    How can I change the default program to open an image with Bridge, when I right click, then choose open with; it doesn't show PS CC 2015 but it shows PS CC (default).  How to view the choice of the CC PS 2015

    Hi weskifmtwo,

    Default programs can be changed to Bridge preferences.

    Open deck Preferences > file Type of Association.

    Select the program you want to open any specific file format.

    It shows no PS CC 2015 but it shows PS CC (default).  How to view the choice of the PS CC 2015.

    This is because the bridge have no script enabled for Photoshop CC 2015 start.

    • Ensure that the startup scripts are enabled in the bridge.

    • If that does not solve the problem > resetting Bridge preferences:-press and hold the CTRL, ALT, Shift (Windows) Command, Option, Shift (MAC) during the start-up of bridge and make check on reset preferences and purge the cache, and then click Ok

    Let us know if this helps

    Concerning

    ~Assani

  • Cannot set the default e-mail program

    I can't send a picture from Windows Live Gallery.

    He is told to do my e-mail default program, but it won't let me

    OT: lynda Laurent

    can you help me
    Thank you
    Lynda

    Hi Lynda,

    1. who is your provider of mail service?
    2 are you using any client e-mail like outlook or Windows live mail?

    If you use any email client, then I suggest you to try the steps from the following link to set the program as the default e-mail client.

    Choose the apps Windows uses by default
    http://Windows.Microsoft.com/en-in/Windows-8/choose-Programs-Windows-uses-default

    I hope this helps! Let us know if you have other problems with Windows in the future.

  • Changes in proportions in the program (Premiere Pro CC 2014) monitor

    Hi, I noticed that the window of the program will change aspect ratio, while I set the clips. When I'm done setting the program window returns to the appropriate proportions.

    I will include pictures to explain this problem.

    Screen Shot 2014-08-23 at 5.00.48 PM (2).png

    * It is a photo of what looks like the window of the program while adjusting the position of an element.

    Screen Shot 2014-08-23 at 5.00.53 PM (2).png

    * This is what program window looks like that I don't have adjustments. It's good image format.

    I must add that I am editing on a macbook pro and do not have this problem in the previous edition of the CC.

    Thank you!

    What first is weird reboot the computer, hold down the shift + alt key while opening the first up to the Welcome screen.

    See if this will help.

  • The app ever to run automatically at startup

    Hi all

    I searched the forums and tried all the code to make my app run automatically at startup. Unfortunately, when I tested my code on the real device. The application never runs automatically when the departure of the unit (I tested by remove the battery and put it again).

    Please see my code below, I created 2 projects to test the operation. But they do not work.

    1 loop until app not at startup

    public class AutoStartTest extends UiApplication {
        public static void main(String[] args) {
            new AutoStartTest().enterEventDispatcher(); // GUI
        }
    
        AutoStartTest() {
            try {
                // check if still in startup
                ApplicationManager app = ApplicationManager.getApplicationManager();
                boolean keepGoing = true;
                while (keepGoing) {
                    if (app.inStartup()) {
                        Thread.sleep(1000);
                    } else {
                        keepGoing = false;
                    }
                }
    
                // Push a new GUI screen.
                DummyScreen screen = new DummyScreen();
                pushScreen(screen);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    
        // Simple GUI screen from which to create an Invocation.
        final class DummyScreen extends MainScreen {
            DummyScreen() {
                setTitle(new LabelField("Autostart test 2", Field.FIELD_HCENTER));
            }
        }
    

    2. use the listener of system

    public class AutoStartTest extends UiApplication implements SystemListener {
    
        public static void main(String[] args) {
    
            AutoStartTest appInstance = new AutoStartTest();
    
            // If system startup is still in progress when this
            // application is run.
            if (ApplicationManager.getApplicationManager().inStartup()) {
                appInstance.addSystemListener(appInstance);
            } else {
                appInstance.doStartupWorkLater();
            }
            appInstance.enterEventDispatcher();
        }
    
        // constructs
        AutoStartTest() {
    
        }
    
        private void doStartupWorkLater() {
    
            invokeLater(new Runnable() {
                public void run() {
                    doStartupWork();
                }
            });
        }
    
        private void doStartupWork() {
            // Push a new GUI screen.
            DummyScreen screen = new DummyScreen();
            pushScreen(screen);
        }
    
        //
        // SystemListener
        //
    
        /** @see SystemListener#powerUp() */
        public void powerUp() {
            removeSystemListener(this);
            doStartupWorkLater();
        }
    
        final class DummyScreen extends MainScreen {
            DummyScreen() {
                setTitle(new LabelField("Autorstarttest 3 ", Field.FIELD_HCENTER));
    
            }
        }
    

    It's the setting in

    I also joined the project as an attachment. But in the project, I tried to create a thread to send http get and open a session on the server side. But it seemed that the app has not started too.

    Visit this link
    http://StackOverflow.com/questions/11321653/BlackBerry-global-popup

  • How to set the processor affinity and memory.

    We have explicit recommendations of our application provider to set the processor affinity for one of our virtual machines running their product. However, this process is not quite clear to me despite the available docs. We are company ESXi 5.1 more.

    By looking at the tab "resources" for the parameters of the virtual computer you see under CPU:

    Actions (I would do that quite high so that it never goes to confront other good?)

    Booking

    Limit

    The requirement is to set aside x cores for the virtual machine while it is never claim to waiting or resource. They would also potentially implement affinity memory related to the same socket for the effectiveness of the NUMA node.

    We have a host with 2 8-core processors with 256 GB of memory. I'm not worried about the affinity of memory. This should be as simple as the control that the 'reserve any memory comments' correct?

    Is it simpler just set up a pool of resources for cela CPU and memory? The only concern I have is it if the processor uses the same memory channels. We do not want a CPU into a socket using the channel memory of another plug for this virtual machine.

    And it's too late to go back to physics for this system.

    Eeghads! Just FYI, the processor affinity is almost never what a seller really wants, even if they think they do. I can imagine there are valid use cases, but I spoke with several vendors who recommend this, and they were all wrong.

    From what I understand in your summary, the application is sensitive to the latency of the CPU. If the physical compute capacity, actions and reservations will address the latency. Latency is the only reason why they want to set the affinity, or are there others? If there is other, know what they are, because there is a good chance to those who are also invalid reasons. The processor affinity tends to exacerbate the problems you're having with loans time CPU and can often cause latency application MORE CPU than that without it. Yes, you can set up reserves of CPU to address these issues for this particular virtual machine, but you made life more difficult for the CPU scheduler. DRS involved in the loan time CPU, which means she won't necessarily move these other virtual machines on this host, even if they are jointly stop like crazy. While we're on the subject, this virtual machine would need to be excluded from automatic DRS migration, since you cannot vMotion with the processor affinity configured. It also means the virtual machine must be powered whenever his current host goes into maintenance mode.

    In any case, verification 'reserve any memory comments' will not affect memory locality. Will just leave all the pages of virtual memory with physical memory pages (another side effect interesting is that creates the virtual machine is no longer a pagefile on the boot). If you REALLY have to set the affinity to the CPU/memory, memory affinity can be set by changing the settings of the VM, the tab "resources", select Advanced Memory, and you can configure NUMBER here. In addition, if you had already seen it, the processor affinity is configured in the tab "resources", under Advanced CPU.

    I highly recommend you challenge the seller and ask if reservations CPU are sufficient. The planner of UC is already aware NUMA. VCPUs how they ask, anyway? Unless they want to more than 8, it is unlikely to split the virtual machine.

  • How to set the function key that you want to run at startup?

    Hello
    I have a problem until I realized that the special function working keys such as high brightness down
    but now, you must open the application feature keys to make it work. I tried the bios settings, but it wasn't the problem. I think the question is how can I get the program feature keys to run at startup.

    Also another problem, I noticed that my display setting is a bit. I tried calibration using the default windows application, but my only question is that when I get to the step of contrast, everything I do is brightness adjustment and nothing else is there another keyboard button on the device that I can use, rather than the keys of brightness, change contrast?

    Thanks I know I had a handful.

    I put t know which model of laptop and what OS you use and I assume that you are writing about the key features of FN and maps flash, right?

    By default, Toshiba flash cards must start with Windows and must be enabled in the boot options.
    If you want to check this option start run (Win + R key), put msconfig and click OK.
    When the configuration of the system is open, go to the Startup tab and check if there is a check mark before Toshiba Flash cards. If it isn't put there and confirm with OK.

    This problem with the display is really strange to me. If you use the right display driver everything should be OK and he didn't need a calibration or anything else.
    When you have bought this laptop and started to use it were there, everything is OK with the display? I think so.

    Your laptop factory settings or you use clean install of the OS?

  • How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    Thank you very much for your help, if necessary.

    Quite a few questions, send, but I will do what I can to answer them.

    I recommend first to buy a router, even if it's one you won't connect to internet and it network with others your PC and printer. This will give you the best features and the results of what you're trying to do.

    In addition, the automatic stop of the printer function can be disabled and is not affected by the type of connection. Usually, you can go through the configuration Menu and select tools to change the options there on the energy saving features.

    Finally, the auto off function on your computer is a Windows question, but one easy answer. If you're on a laptop, you can right click on the battery in the tray (lower right corner) and change the settings for energy conservation.

    You might be better off installing the printer via the USB cord and alternately inspiring when you use it, but which is not optimal if you are printing only a few documents on an irregular basis. A network connection is the easiest to manage across multiple computers, honesty, but you have certain requirements for this connection and limits as well.

    I hope this information is useful!

  • CHKDSK runs automatically at startup to the top

    XP Pro SP3

    My computer has been running chkdsk automatically at startup for about two weeks. Not always, but often. Generally, it detects and corrects a problem in Phase 1 and nothing in the Phases 2 or 3. -What this means and what I can do about it?

    No, it's not a reason not to use a floppy drive if you have a floppy drive in your computer. The fact that the computer (or hard drive) is only 2 years old is irrelevant; equipment can fail at any time. And Yes, back up your data first. MS - MVP - Elephant Boy computers - don't panic!

  • Task Manager give me an access denied error when I try to set the affinity or end a process.

    Hello
    I tried to change some of the settings of my PC compared to a game do not set up for dual-core systems.
    I tried to change the affinity settings in the Task Manager and I get an error of access denied even if I have one in an administrator account. I am the only user of this system and it is very frustrating to be unable to edit my own settings.  I am running Vista 32 home edition on a system of dual-core AMD.
    I also tried to change the affinity with the line of the command prompt and change the shortcut to do so, but this did not succeed. The command prompt will not find the program and when I use the shortcut to set the affinity with the command prompt, it didn't he open the window command prompt and nothing else.  If someone could give me a hand here, I'd appreciate it.  I am familiar with specific vagaries of Vista and I'm getting a little angry.

    Do you have UAC turned on?

    If you do, then, when you're in the Manager of tasks under the processes tab, select "Show processes from all users" accept the UAC prompt.
    This will be the the Task Manager with your administrator privileges. You should now be able to set the affinity.

  • ACCESS DENIED WHEN YOU TRY TO SET THE AFFINITY OF THE PROGRAM.

    Hi people, this is my first post here. I have searched the forum for an answer but couldn't find it so please forgive me if I missed it and write the question again.

    I'm trying to get better performance from my pc. I am running a quad core C.P.F. and try to set the affinity for certain programs are not not multi thread. (PC ONLINE EVERQUEST GAME 2)
    I managed to channel some programs, but when I try to set the affinity for Everquest I comes up with an error message.  'ACCESS DENIED '.

    I found a page that had a work around, but I could not quite work on what they were saying.

    If you know an easy way to do it could you help me please.

    Thanks for your time :)

    Hi Dagenham Dave,

    You run the computer as an administrator?

    You can follow the steps indicated by the msspbm, which addresses a similar issue, please see the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistaperformance/thread/a6a57cda-3f2c-48b2-ae8e-42c5965567bb

    This may interest you

    Optimize the performance of Microsoft Windows Vista

    http://support.Microsoft.com/kb/959062

    Please post if you have any questions

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to set the key numb to activate at startup

    How to set the key numb to activate at startup on computer laptop gateway running windows 7?

    Original title: numb locking button

    Hello Wan,

    Thanks for the quick response. We appreciate your time and your efforts.

    By default the NUM LOCK status is the same as it was before you shut down the computer properly. If it is on when you shut it down it will be on when you turn on the computer again.

    A few users have solved this problem by disabling fast boot option in the BIOS (Basic Input Output System). I would ask disable youFast Boot to the BIOS and check if that helps.

    For more information about how to disable Fast Boot in the BIOS, I would ask you to contact the manufacturer of the system.

    Note:

    BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    Hope the helps of information provided. Let us know the results and do not hesitate to post on the Microsoft Community, in case you have problems when you are working on Windows.

  • In the face of the question and try to set the affinity through VCO workflow rule

    In the face of the question then to attempt to set the affinity through VCO workflow rule I'm trying to write workflow VCO to set up the level of affinity of cluster, but it throws the error message cannot convert ClusterComputeResource 'mycluster' to com.vmware.vim.vi4.ClusterConfigSpec (Workflow: create vm-virtual machine affinity rule / Scriptable task (item1) #19) my script to workflow is var rule = new VcClusterAntiAffinityRuleSpec(); Rule.Key = - 30; Rule.enabled = true; Rule.Name = ruleName; rule.userCreated = true; Rule.VM = MV; var clusterSpecRules = new Array(); var clusterSpecRule = new VcClusterRuleSpec(); clusterSpecRule.operation = VcArrayUpdateOperation.add; clusterSpecRule.info = rule; clusterSpecRules.push (clusterSpecRule); var clusterSpec = new VcClusterConfigSpec(); clusterSpec.rulesSpec = clusterSpecRules; var m = computeCluster.vimHost //spec = task = computeCluster.reconfigureCluster_Task (computeCluster, spec, true); Note: In the above code, what are the entry parameter computeCluster entered type parameter VC:clusterComputeResource ruleName is a parameter of type String - APR

    Here is the code I use, give it a shot.

    var affinitySpec = new VcClusterAffinityRuleSpec();
    affinitySpec.enabled = true;
    affinitySpec.name = att_ruleName;
    affinitySpec.userCreated = true;
    affinitySpec.vm = att_vmArray;

    var clusterRuleSpec = new Array (new VcClusterRuleSpec());
    clusterRuleSpec [0] = new VcClusterRuleSpec()
    .operation clusterRuleSpec [0] = VcArrayUpdateOperation.add;
    clusterRuleSpec [0] .info = affinitySpec;

    var clusterConfigSpec = new VcClusterConfigSpecEx();
    clusterConfigSpec.rulesSpec = clusterRuleSpec;

    att_task = att_clusterComputeResource.reconfigureComputeResource_Task (clusterConfigSpec, true);

  • How to set the rule of affinity of vm-to-host using PowerCLI 5.1

    Hi all

    I want to set the affinity of the vm-to-host using CLI power.

    Can what cmdlet I use?

    I use power 5.1 Rease1 CLI.

    Thank you

    You can disable a rule of VM-to-Host like this

    $rulename = "Rulename" $cluster = Get-Cluster MyCluster$esx = Get-VMHost -Location $cluster $rule = Get-DrsRule -Cluster $cluster -VMHost $esx | where {$_.Name -eq $rulename}
    
    $spec = New-Object VMware.Vim.ClusterConfigSpec
    $ruleSpec = New-Object VMware.Vim.ClusterRuleSpec $ruleSpec.Info = $rule.ExtensionData$ruleSpec.Info.Enabled = $false$ruleSpec.Operation = "edit"
    
    $spec.rulesSpec += $ruleSpec
    $cluster.ExtensionData.ReconfigureCluster($spec,$true)
    
  • From virtual machine automatically at startup of the host

    Hello

    I'm trying to find how to start a virtual machine automatically at startup of the ESXi host.  I think I did in ESX 3.5, but have so far been unable to find a similar feature in ESXi.

    Is this possible in ESXi?

    Thank you!

    I do not use ESXi, but if you go to the Configuration of your ESXi host and then virtual Mahcine start/stop tab is a box of properties in the right corner?  If so, like ESX, this is where to put it

Maybe you are looking for