Elevated command via batch file?

Page 2 of 2 FirstFirst 12

  1. Posts : 78
    Windows 7 Professional x64
    Thread Starter
       #11

    chev65 said:
    nigelmercier said:
    chev65 said:
    I'm pretty sure that the connectify software for creating a hosted wireless network, can be set to start up automatically when the machine is started. This should be easier for a Novice.

    Connectify Hotspot - Connectify
    It's a novice using it, not setting it up, so Connectify is a bit OTT.
    That's as easy as it's going to get.
    Yes, but Connectify will run automatically, I don't want it to do this.

    This is all a red herring anyway, perhaps I gave too much detail or posted in the wrong forum. The bottom line is that I want to run an elevated command via a batch file, without going via the right click menu. It would be simple if the batch file had a tick box for Run as Administrator, but it is greyed out.
      My Computer


  2. Posts : 150
    Windows 7 Ultimate x64, BackTrack Linux 5 R2, Windows XP
       #12

    Maybe if you describe the situation a little better we could help. It's not really making sense to me personally...you have a user that occasionally wants to use a certain PC, and this certain PC is going to act as a "virtual" router? To serve other PC's connections? Does this user know that their PC is intended to function this way?

    Wouldn't it be easier just to buy an actual router?
      My Computer


  3. Posts : 78
    Windows 7 Professional x64
    Thread Starter
       #13

    Strange how some folks question ones reasons for asking a question.

    All sorted, the trick was to create a shortcut to the batch file, and select the Run as Administrator tick box for that. Now when this computer has an active Wi-Fi connection, it can be shared with local iPads etc.

    [Later] Found this trick is already mentioned on the W7F, see here post #15, with another method at post #16
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:02.
Find Us