Start a process with elevated privilege

<>

This question already has an answer here:

Answers


Please see Elevating process privilege programatically.

You either need to throw a UAC Elevation prompt (potentially annoying) or run your root forking process as administrator. By declaring it in the ClickOnce or program manifests, you can ensure that simple double-clicks on your executable will automatically prompt to elevate.

If the end user's machine has UAC enabled, at some point some kind of prompt will appear, as there is no legitimate way of elevating a child process from an unprivileged one.


Need Your Help

setMaxResults and setFirstResult in Doctrine2

doctrine-orm

The official Doctrine2 guide reports that:

Bitboard bitwise operations on 64 bit integers on iPhone 4 and 5?

iphone objective-c ios7 64-bit bitboard

I've got a rather interesting problem. I'm writing a chess engine using bitboards for iOS 7 which I want to work on the iPhone 4, 4s, 5, and 5s. Up till now I was doing all my testing in the iOS 64...