Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Elevated command via batch file?


01 Feb 2013   #11

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by chev65 View Post
Quote   Quote: Originally Posted by nigelmercier View Post
Quote   Quote: Originally Posted by chev65 View Post
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 System SpecsSystem Spec
.

01 Feb 2013   #12

Windows 7 Ultimate x64, BackTrack Linux 5 R2, Windows XP
 
 

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 System SpecsSystem Spec
01 Feb 2013   #13

Windows 7 Professional x64
 
 

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 System SpecsSystem Spec
.


Reply

 Elevated command via batch file?




Thread Tools



Similar help and support threads for: Elevated command via batch file?
Thread Forum
Solved Batch file not waiting for command to finish before moving on Software
Solved Issues with batch file to run MMC with elevated account General Discussion
Elevated command prompt over SSH Network & Sharing
Solved Batch File that grabs file names from folder to insert into batch file General Discussion
Tip for Elevated Command Prompt General Discussion
programmatic way with BAT file determining if elevated command prompt General Discussion
Solved Batch File - For Command?? General Discussion

Our Sites

Site Links

About Us

Find 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 04:01 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33