Windows 10: Why "New-PSDrive" cmdlet not works on WinPE

Discus and support Why "New-PSDrive" cmdlet not works on WinPE in Windows 10 Installation and Upgrade to solve the problem; I added the packages to enable Powershell on WinPE, but I can't perform the action that I need: Mount a OneDrive as drive. I can to do it on normal... Discussion in 'Windows 10 Installation and Upgrade' started by rafaeljsc, Dec 4, 2020.

  1. rafaeljsc Win User

    Why "New-PSDrive" cmdlet not works on WinPE


    I added the packages to enable Powershell on WinPE, but I can't perform the action that I need: Mount a OneDrive as drive.


    I can to do it on normal Windows, and I would like know why I can't repeat it on PE.


    WinPE:


    Why "New-PSDrive" cmdlet not works on WinPE 8a19f72a-ab21-43f0-b26c-9e00065a7714?upload=true.jpg


    Windows 10:


    Why "New-PSDrive" cmdlet not works on WinPE df563ac5-c112-424e-98ba-f0549e642597?upload=true.jpg

    :)
     
    rafaeljsc, Dec 4, 2020
    #1

  2. Validating user credentials in WinPE


    I was having problems accessing my NAS drive from Windows 10.
    I found that using :
    Code:
    Code:
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi sc.exe config mrxsmb20 start= disabled
    works (from thread 30425)

    I have the same problem trying to recover backup files from tthe NAS drive when booted into WinPE (Windows 10).
    Please can someone help me make the same changes in the WinPE environment as these commands do not work.

    As I am a bit of a novice step by step or even a .BAT file to run in WinPE would be very helpful.

    Thanks
     
    tsrplatelayer, Dec 4, 2020
    #2
  3. Windows 10 infinite restart black screen


    The tutorials provided are just a list of troubleshooting steps. Use only the steps which apply to you.

    Since none of the troubleshooting steps here worked, I'd suggest you do a Clean install.

    John
     
    AmericanPharaoh, Dec 4, 2020
    #3
  4. wleara Win User

    Why "New-PSDrive" cmdlet not works on WinPE

    Windows 10 Start search no longer works

    Many people are having this issue, and there's a lot of crazy suggestions out there. I've tried them all, and nothing worked until I did this:

    • Delete the directory: C:\Users\<user>\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy [REBOOT]
    • Run the following command from Powershell with Admin privileges: Add-AppxPackage -Register "C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\AppxManifest.xml" -DisableDevelopmentMode [REBOOT]

    For Step 1, you'll have to boot to a WinPE drive, or maybe Safe Mode because the directory will be locked. But, if you do these two steps in this order it will fix the problem.
     
    wleara, Dec 4, 2020
    #4
Thema:

Why "New-PSDrive" cmdlet not works on WinPE

Loading...
  1. Why "New-PSDrive" cmdlet not works on WinPE - Similar Threads - Why PSDrive cmdlet

  2. WinPE

    in Windows 10 Gaming
    WinPE: Hello everyone! How can i install a language pack to WinPE? I use Windows adk/WinPE build 26100Where is the language packs located?Please help me!Thanks ; https://answers.microsoft.com/en-us/windows/forum/all/winpe/01ca0701-c62d-4154-9ef5-b014b0603a40
  3. WinPE

    in Windows 10 Software and Apps
    WinPE: Hello everyone! How can i install a language pack to WinPE? I use Windows adk/WinPE build 26100Where is the language packs located?Please help me!Thanks ; https://answers.microsoft.com/en-us/windows/forum/all/winpe/01ca0701-c62d-4154-9ef5-b014b0603a40
  4. Unable to use Teams cmdlet

    in Windows 10 Software and Apps
    Unable to use Teams cmdlet: Good Morning,I am unable to use the command Grant-CsTeamsComplianceRecordingPolicy, with the error below:So far, I can use all other cmdlets associated with Teams and when I run Get-Command -Module MicrosoftTeams I can see the command in the list:Is there any reason for...
  5. Unable to use Teams cmdlet

    in Windows 10 Customization
    Unable to use Teams cmdlet: Good Morning,I am unable to use the command Grant-CsTeamsComplianceRecordingPolicy, with the error below:So far, I can use all other cmdlets associated with Teams and when I run Get-Command -Module MicrosoftTeams I can see the command in the list:Is there any reason for...
  6. Unable to use Teams cmdlet

    in Windows 10 Gaming
    Unable to use Teams cmdlet: Good Morning,I am unable to use the command Grant-CsTeamsComplianceRecordingPolicy, with the error below:So far, I can use all other cmdlets associated with Teams and when I run Get-Command -Module MicrosoftTeams I can see the command in the list:Is there any reason for...
  7. Why do signed PowerShell cmdlets run slower than unsigned cmdlets on Windows 10?

    in Windows 10 News
    Why do signed PowerShell cmdlets run slower than unsigned cmdlets on Windows 10?: [ATTACH]A cmdlet is a lightweight command that is used in the Windows PowerShell environment. The Windows PowerShell runtime invokes these cmdlets within the context of […] This article Why do signed PowerShell cmdlets run slower than unsigned cmdlets on Windows 10? first...
  8. Get-WindowsErrorReporting cmdlet crashes

    in Windows 10 Ask Insider
    Get-WindowsErrorReporting cmdlet crashes: I wanted to see if I had Windows Error Reporting enabled so I followed the instructions here: https://docs.microsoft.com/en-us/powershell/module/windowserrorreporting/get-windowserrorreporting?view=win10-ps The applet crashes! C:\WINDOWS\system32> Get-WindowsErrorReporting...
  9. GUI WinPE

    in Windows 10 Installation and Upgrade
    GUI WinPE: Does anyone have a GUI of Windows 10 as a WINPE bootup so I can reimage computers from the WINPE GUI? 126913
  10. No PowerShell cmdlets recognized

    in Windows 10 Support
    No PowerShell cmdlets recognized: Running powershell as Administrator or running the ISE as Administrator (which shows Admin at top of one of the two images) isn't returning what I am expecting for looking at tasks scheduled. Any idea what's up with the output in the images? I was running Windows 7 Home...