Click here to Skip to main content
15,899,754 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: How to get rid of the USB media/disk startup message? Pin
mnnca12-Mar-08 7:18
mnnca12-Mar-08 7:18 
AnswerRe: How to get rid of the USB media/disk startup message? Pin
Jörgen Andersson5-Mar-08 21:01
professionalJörgen Andersson5-Mar-08 21:01 
GeneralRe: How to get rid of the USB media/disk startup message? Pin
mnnca6-Mar-08 8:05
mnnca6-Mar-08 8:05 
GeneralRe: How to get rid of the USB media/disk startup message? Pin
Jörgen Andersson6-Mar-08 9:17
professionalJörgen Andersson6-Mar-08 9:17 
GeneralShortcut to Command Prompt Pin
Imtiaz Murtaza5-Mar-08 6:49
Imtiaz Murtaza5-Mar-08 6:49 
GeneralRe: Shortcut to Command Prompt Pin
Johpoke5-Mar-08 7:16
Johpoke5-Mar-08 7:16 
GeneralRe: Shortcut to Command Prompt Pin
Imtiaz Murtaza5-Mar-08 11:29
Imtiaz Murtaza5-Mar-08 11:29 
GeneralRe: Shortcut to Command Prompt Pin
Johpoke5-Mar-08 20:54
Johpoke5-Mar-08 20:54 
OK, I looked at my code, and this is what i did:

system("runas /user:Administrator \"setup.exe /install /noreboot\"");

Since this is a normal CMD command (whats inside the "" of system() ) you can just call it from a .bat/.cmd file.

Note that it will ask you for the password each time, and i dont think you can send the password as a param. (But you could create a c++ program which emulates the keyboard pressing keys (this would be very insecure as you can easily to fetch out the password))

Smile | :)

//Johannes

GeneralRe: Shortcut to Command Prompt Pin
Jörgen Andersson5-Mar-08 21:27
professionalJörgen Andersson5-Mar-08 21:27 
GeneralRe: Shortcut to Command Prompt Pin
Vasudevan Deepak Kumar10-Mar-08 23:21
Vasudevan Deepak Kumar10-Mar-08 23:21 
GeneralBoot dos from pen drive Pin
divyesh14322-Mar-08 22:07
divyesh14322-Mar-08 22:07 
GeneralRe: Boot dos from pen drive Pin
Johpoke2-Mar-08 22:12
Johpoke2-Mar-08 22:12 
GeneralRe: Boot dos from pen drive Pin
divyesh14322-Mar-08 22:30
divyesh14322-Mar-08 22:30 
GeneralRe: Boot dos from pen drive Pin
Johpoke2-Mar-08 23:13
Johpoke2-Mar-08 23:13 
QuestionHow to clean these virus Pin
Mekong River2-Mar-08 15:22
Mekong River2-Mar-08 15:22 
AnswerRe: How to clean these virus Pin
Johpoke2-Mar-08 20:59
Johpoke2-Mar-08 20:59 
GeneralRe: How to clean these virus Pin
Mekong River2-Mar-08 21:16
Mekong River2-Mar-08 21:16 
AnswerRe: How to clean these virus Pin
Rajesh R Subramanian2-Mar-08 21:22
professionalRajesh R Subramanian2-Mar-08 21:22 
QuestionRouting configuration Pin
Krishnan V29-Feb-08 19:48
Krishnan V29-Feb-08 19:48 
GeneralRe: Routing configuration Pin
Hesbon Ongira10-Mar-08 1:28
Hesbon Ongira10-Mar-08 1:28 
GeneralDetecting "remote-ness" (WAN/LAN/etc) and/or speed of a UNC share Pin
Paul Vickery29-Feb-08 4:03
professionalPaul Vickery29-Feb-08 4:03 
GeneralRe: Detecting "remote-ness" (WAN/LAN/etc) and/or speed of a UNC share Pin
Dave Kreskowiak29-Feb-08 5:59
mveDave Kreskowiak29-Feb-08 5:59 
GeneralRe: Detecting "remote-ness" (WAN/LAN/etc) and/or speed of a UNC share Pin
Paul Vickery11-Mar-08 2:31
professionalPaul Vickery11-Mar-08 2:31 
GeneralRe: Detecting "remote-ness" (WAN/LAN/etc) and/or speed of a UNC share Pin
Dave Kreskowiak11-Mar-08 12:14
mveDave Kreskowiak11-Mar-08 12:14 
GeneralRe: Detecting "remote-ness" (WAN/LAN/etc) and/or speed of a UNC share Pin
Paul Vickery12-Mar-08 1:00
professionalPaul Vickery12-Mar-08 1:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.