SharePoint Online Management Shell install issues

%3CLINGO-SUB%20id%3D%22lingo-sub-1981394%22%20slang%3D%22en-US%22%3ESharePoint%20Online%20Management%20Shell%20install%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1981394%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20on%20a%20Windows%2010%20system%2C%20local%20admin.%3C%2FP%3E%3CP%3EI%20go%20to%20run%20SharePointOnlineManagementShell_20616-12000_x64_en-us.msi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20accept%20the%20license%20agreement%20and%20.....%20then%20nothing.%3C%2FP%3E%3CP%3EI%20see%20in%20taskmanager%20msiexec.exe%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20logged%20on%20as%20my%20admin%20account%20(I%20log%20on%20with%20my%20user%20account)%20and%20then%20did%20the%20same%2C%20I%20was%20prompted%20for%20a%20username%20and%20password%20and%20the%20program%20installed.%3C%2FP%3E%3CP%3ESeems%20then%20it%20is%20MY%20user%20account.%3C%2FP%3E%3CP%3EI%20go%20to%20Pwsh.exe%20-%20PowerShell%207.1.0%20and%20run%20as%20admin%2C%20I%20get%20the%20Consent%20prompt%2C%20and%20click%20Yes%20-%20UAC.%3C%2FP%3E%3CP%3EAdministrator%3A%20Pwsh.exe%3C%2FP%3E%3CP%3EI%20tried%20to%20copy%20it%20from%20my%20c%3A%5Cusers%5C%25username%25%5Cdesktop%20folder%20to%20say%20c%3A%5Cintel%20to%20see%20if%20it%20was%20causing%20issues...%3C%2FP%3E%3CP%3EI%20go%20to%20run%20SharePoint%20Online%20Management%20Shell%20Setup.%26nbsp%3B%20I%20click%20accept%20terms.%26nbsp%3B%20Install.%3C%2FP%3E%3CP%3EIt%20disappears.%3C%2FP%3E%3CP%3EIf%20it%20was%20the%20UAC%2C%20wouldn't%20it%20cause%20me%20to%20have%20the%20issue%20WHEN%20I%20launched%20PowerShell%207.1.0%3F%3C%2FP%3E%3CP%3EAgain%2C%20when%20I%20logged%20off%20it%20worked.%26nbsp%3B%20I%20can't%20seem%20to%20get%20it%20to%20work%20for%20ALL%20users%2C%20it%20seemed%20to%20only%20work%20for%20that%20user%20account%2C%20or%20I%20would%20be%20happy.%3C%2FP%3E%3CP%3EI%20do%20NOT%20see%20it%20listed%20in%20Programs%20and%20Features%20or%20now%20Settings%20-%20Apps.%3C%2FP%3E%3CP%3EWhen%20I%20right%20click%20the%20MSI%20and%20go%20Repair%20-%20This%20action%20is%20only%20valid%20for%20products%20that%20are%20currently%20installed.%3C%2FP%3E%3CP%3EI%20see%20it%20listed%20in%20my%20start%20menu%2C%20yet%20I%20go%20to%20Uninstall%2C%20it%20takes%20me%20back%20to%20%22Apps%22%20and%20nothing%20is%20listed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20listing%20that%20shows%20the%20locations%20to%20remove%20or%20a%20way%20to%20resolve%20this%20without%20renaming%20the%20account.%3C%2FP%3E%3CP%3EI%20logged%20on%20as%20my%20admin%20account%20and%20seemed%20to%20mess%20it%20up%20as%20well.%26nbsp%3B%20Now%20both%20show%20the%20command%20prompt%20and%20never%20get%20past%20the%20flashing%20cursor.%3C%2FP%3E%3CP%3ECtrl-C%20closes%20the%20program%2C%20which%20I%20was%20hoping%20would%20try%20to%20kick%20start%20it%20to%20%22acknowledge%22%20that%20it%20is%20was%20supposed%20to%20be%20working.%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1981394%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%20Management%20Shell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1982835%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20Management%20Shell%20install%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1982835%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F109565%22%20target%3D%22_blank%22%3E%40Matthew%20Carter%3C%2FA%3E%26nbsp%3BI%20have%20never%20done%20the%20msi%20install%2C%20I%20just%20installed%20the%20module%20from%20PSGallery.%20Using%20something%20like%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EInstall-Module%20SharePointPnPPowerShellOnline%20-Scope%20AllUsers%20-Confirm%3A%24false%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I am on a Windows 10 system, local admin.

I go to run SharePointOnlineManagementShell_20616-12000_x64_en-us.msi

 

I accept the license agreement and ..... then nothing.

I see in taskmanager msiexec.exe

 

I logged on as my admin account (I log on with my user account) and then did the same, I was prompted for a username and password and the program installed.

Seems then it is MY user account.

I go to Pwsh.exe - PowerShell 7.1.0 and run as admin, I get the Consent prompt, and click Yes - UAC.

Administrator: Pwsh.exe

I tried to copy it from my c:\users\%username%\desktop folder to say c:\intel to see if it was causing issues...

I go to run SharePoint Online Management Shell Setup.  I click accept terms.  Install.

It disappears.

If it was the UAC, wouldn't it cause me to have the issue WHEN I launched PowerShell 7.1.0?

Again, when I logged off it worked.  I can't seem to get it to work for ALL users, it seemed to only work for that user account, or I would be happy.

I do NOT see it listed in Programs and Features or now Settings - Apps.

When I right click the MSI and go Repair - This action is only valid for products that are currently installed.

I see it listed in my start menu, yet I go to Uninstall, it takes me back to "Apps" and nothing is listed.

 

Is there any listing that shows the locations to remove or a way to resolve this without renaming the account.

I logged on as my admin account and seemed to mess it up as well.  Now both show the command prompt and never get past the flashing cursor.

Ctrl-C closes the program, which I was hoping would try to kick start it to "acknowledge" that it is was supposed to be working.

Thank you!

1 Reply

@Matthew Carter I have never done the msi install, I just installed the module from PSGallery. Using something like:

Install-Module SharePointPnPPowerShellOnline -Scope AllUsers -Confirm:$false