Open powershellpr0mpt opened 4 years ago
I've also tried manually copying the Nuget packageprovider .dll as mentioned here, but no luck.
The .dll was originally located under C:\Program Files\PackageManagement\ProviderAssemblies\nuget\2.8.5.208
, copied to AppData
folder, but no luck.
I am now facing this exact same issue, and have also moved to OneDrive backup recently. Did you find any fix?
Having the same problem and only with PS7 not with 5.1 desktop. FIPS not enabled.
same problem with 5.1 and windows server 2016
Try updating PackageManagement. If I recall correctly, it updates NuGet as a prerequisite and works-around this problem.
Install-Module -Name "PackageManagement" -Force
Unfortunately no luck.
Also running newer version and new machine [but same account], but no luck:
Robert, the fact that your PowerShell window shows "Administrator" in the title bar, yet PowerShell is reporting that you do not have administrative rights tells me that something on the computer is restricting your admin rights. Any relevant GPOs or security software in place?
If you do a
whoami /all
do you get this list of privileges?:
PRIVILEGES INFORMATION
----------------------
Privilege Name Description State
========================================= ================================================================== ========
SeIncreaseQuotaPrivilege Adjust memory quotas for a process Disabled
SeSecurityPrivilege Manage auditing and security log Disabled
SeTakeOwnershipPrivilege Take ownership of files or other objects Disabled
SeLoadDriverPrivilege Load and unload device drivers Disabled
SeSystemProfilePrivilege Profile system performance Disabled
SeSystemtimePrivilege Change the system time Disabled
SeProfileSingleProcessPrivilege Profile single process Disabled
SeIncreaseBasePriorityPrivilege Increase scheduling priority Disabled
SeCreatePagefilePrivilege Create a pagefile Disabled
SeBackupPrivilege Back up files and directories Disabled
SeRestorePrivilege Restore files and directories Disabled
SeShutdownPrivilege Shut down the system Disabled
SeDebugPrivilege Debug programs Disabled
SeSystemEnvironmentPrivilege Modify firmware environment values Disabled
SeChangeNotifyPrivilege Bypass traverse checking Enabled
SeRemoteShutdownPrivilege Force shutdown from a remote system Disabled
SeUndockPrivilege Remove computer from docking station Disabled
SeManageVolumePrivilege Perform volume maintenance tasks Disabled
SeImpersonatePrivilege Impersonate a client after authentication Enabled
SeCreateGlobalPrivilege Create global objects Enabled
SeIncreaseWorkingSetPrivilege Increase a process working set Disabled
SeTimeZonePrivilege Change the time zone Disabled
SeCreateSymbolicLinkPrivilege Create symbolic links Disabled
SeDelegateSessionUserImpersonatePrivilege Obtain an impersonation token for another user in the same session Disabled
Steps to reproduce
Was redirected here from the PowerShell Github
Having problems doing anything related to installing or updating modules in PS7. Same machines as where I ran PS6 and PS7-preview PS5.1 working as intended
First I try to
Expected behavior
The PackageProvider gets installed
Actual behavior
Then I try
Followed by
I have this on 2 machines at the moment, I've tried uninstalling/reinstalling, but no luck. I've searched for people experiencing similar issues, but no luck. FIPS not enabled on both machines Tried the steps here, but also no luck
Environment data
Someone mentioned it might be related to OneDrive known-folder-move, this is configured on both machines through Intune [corporate policies pushed to device]
Not sure if this is actually it, but perhaps it is of any help troubleshooting?