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. Accessing Network In WINPE

    in Windows 10 Network and Sharing
    Accessing Network In WINPE: I want to access a captured .wim image to a desktop using DISM when booted in WINPE. The captured .wim file is in the laptop (whose usb ports do NOT work, or else I wouldve used USB DRIVES). How do I access this image? I read somewhere that it involves the use of 'net use'...
  3. 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...
  4. 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...
  5. WinPE phase of winsim

    in Windows 10 Installation and Upgrade
    WinPE phase of winsim: What can be done during the WinPE phase of the unattended windows 10? Can I create links to other drives to other directories on the drives? (Mklink). Can I create directories, subdirectories? Mkdir? If I use asynchronous or synchronous command? Could you show me how to do...
  6. 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
  7. MDT: Not booting into WinPED

    in Windows 10 Installation and Upgrade
    MDT: Not booting into WinPED: Hi, I wanted to capture a WIM file on a physical computer using MDT capture task sequence . I booted the computer from PXE, MDT starts and I can select the MDT task. Task starts and applies WinPE and then the computer reboots, but not in WinPE. The computer starts normally...
  8. Validating user credentials in WinPE

    in Windows 10 Network and Sharing
    Validating user credentials in WinPE: I was having problems accessing my NAS drive from Windows 10. I found that using : Code: sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi sc.exe config mrxsmb20 start= disabled[/quote] works (from thread 30425) I have the same problem trying to recover...
  9. 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...
  10. Issues with creating WinPE disk

    in Windows 10 Support
    Issues with creating WinPE disk: Hi all I am following some microsoft documentation that says to use the command Wpeutil createpagefile C:\pagefile /size=256wpeutil is not recognized is what I get. Here is where I found the microsoft page. Install Windows PE - Windows 10 hardware dev under install...