How to combine "runas" function and "run as administrator" function in cmd
i found issue in windows 2008 r2 environment. here steps: 1. have 2 users: "user1" , "user2", , add these users adminsitrators group. 2. login with "user1", , right click cmd, select "run administrator", execute command "vssadmin list writers". , writers listed successfully. 3. if missed "run adminsitrator" step in #2, error:"error: don't have correct permissions run command. please run utility command window has elevated administrator privileges." 4. if login "user2", , right click cmd, select "run administrator", execute command "runas /user:user1 cmd.exe", , execute command "vssadmin list writers". , same error #3. now want use #4 same results #2, cannot find method add "run administrator" "runas" function in #3. anyone can me? look forward getting superman resolve issue. /harry hi harry, ...