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

Powershell Explorer Process will not open properly

I'm using the following command in Powershell to try to open explorer with elevated privileges.  I get the attached error.  The account I'm using has administrative privileges.


Start-Process explorer.exe -Credential Get-Credintials
Doc1.docx
0
JAMES125
Asked:
JAMES125
  • 5
  • 4
1 Solution
 
QlemoC++ DeveloperCommented:
What's your drive you are running that line from? If it is a network drive: That will not work, as your network drives are not accessible by other accounts.
0
 
QlemoC++ DeveloperCommented:
BTW, please use a program like MS Paint to create snapshop files. Embedding pictures in Office documents is bad practise.
0
 
JAMES125Author Commented:
I open Powershell ISE with a run as with my admin account and execute it from their.
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
QlemoC++ DeveloperCommented:
That won't work anyway. Explorer will not run with a different account - even if you provide different credentials with the start-process cmdlet, Explorer ignores that. And you get a second instance only if you have enabled that in Folder Options ("Launch folder windows in a separate process").
0
 
JAMES125Author Commented:
Do you have any suggested code to provide me the ability to open an explorer window under different credintials?
0
 
QlemoC++ DeveloperCommented:
Nope. Nothing works to fool the system, at least with Vista and above.
0
 
JAMES125Author Commented:
I've requested that this question be deleted for the following reason:

no solution availabel
0
 
QlemoC++ DeveloperCommented:
"You can't do it" is a valid answer, see http://www.experts-exchange.com/help/viewHelpPage.jsp?helpPageID=23 . You asked for something which is not possible, not just unknown how to do, as stated in http:#a37827566 is the answer.
0
 
JAMES125Author Commented:
Thanks
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

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