Solved

Powershell Explorer Process will not open properly

Posted on 2012-04-10
9
407 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
[X]
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
  • 5
  • 4
9 Comments
 
LVL 70

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 70

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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 70

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 70

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 70

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 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