• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Quest PowerShell Admin

How do I log on with different user (shift + right click) to this application , (To Have Access To Copy Groups from 1 Account to Another) - -
http://mikefrobbins.com/2012/10/04/use-powershell-to-copy-the-group-membership-of-one-active-directory-user-to-another-active-directory-user-account/

?


Thanks
0
mvalencia2003
Asked:
mvalencia2003
  • 5
  • 5
1 Solution
 
McKnifeCommented:
Quest's stuff integrates into powershell. So simply start powershell as a different user.
0
 
mvalencia2003Author Commented:
This powershell :
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe


?
0
 
McKnifeCommented:
Yes
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
mvalencia2003Author Commented:
I shift right click on : %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
,
selected RUN AS DIFFERENT USER
,
log on using Domain Admin Account
,
think it still runs with normal account - -
Keep seeing Access Denied messages ,

?
0
 
McKnifeCommented:
You have not elevated, have you? With UAC on, the domain admin is treated as normal user until he elevates. So you should runas cmd.exe via rightclick option "run as administrator" and then start powershell from there using runas.exe and your domain admins credentials, then no more access denials will appear.

Sorry, run as different user with shift rightclick does not elevate automatically.
0
 
mvalencia2003Author Commented:
runas.exe ,
full command = runas.exe 'username'

?
0
 
McKnifeCommented:
runas /user:administrator powershell
0
 
mvalencia2003Author Commented:
user = my domain admin account
?
0
 
McKnifeCommented:
Yes, like
runas /user:domain.local\youradmin powershell
0
 
mvalencia2003Author Commented:
Thanks
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now