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 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


 Elevated command via batch file?

Thread Tools

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 11:21 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App