Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Powershell Explorer Process will not open properly

Posted on 2012-04-10
9
405 Views
Last Modified: 2012-05-29
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
Comment
Question by:JAMES125
  • 5
  • 4
9 Comments
 
LVL 69

Expert Comment

by:Qlemo
ID: 37827248
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
 
LVL 69

Expert Comment

by:Qlemo
ID: 37827250
BTW, please use a program like MS Paint to create snapshop files. Embedding pictures in Office documents is bad practise.
0
 

Author Comment

by:JAMES125
ID: 37827460
I open Powershell ISE with a run as with my admin account and execute it from their.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 69

Expert Comment

by:Qlemo
ID: 37827566
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
 

Author Comment

by:JAMES125
ID: 37827595
Do you have any suggested code to provide me the ability to open an explorer window under different credintials?
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 37827663
Nope. Nothing works to fool the system, at least with Vista and above.
0
 

Author Comment

by:JAMES125
ID: 38023728
I've requested that this question be deleted for the following reason:

no solution availabel
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 38023729
"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
 

Author Closing Comment

by:JAMES125
ID: 38023795
Thanks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question