Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set-D365FavoriteBookmark doesn't work on Windows Server 2022 due to missing IE #787

Closed
valerymoskalenko opened this issue Dec 6, 2023 · 3 comments

Comments

@valerymoskalenko
Copy link

Set-D365FavoriteBookmark doesn't work on Windows Server 2022 due to missing IE
Tested on version 10.0.37 on the local VHD.
This image is based on Windows Server 2022 Datacenter Evaluation, where IE is not installed.
I believe that it is possible to do the same for the Edge browser.

Logs:

PS C:\Windows\system32> $FnOURL = Get-D365Url

PS C:\Windows\system32> $FnOURL

Url                                                
---                                                
https://usnconeboxax1aos.cloud.onebox.dynamics.com/

PS C:\Windows\system32> Set-D365FavoriteBookmark -Url $FnOURL.Url -D365FO -Verbose -Debug
VERBOSE: [22:58:04][Set-D365FavoriteBookmark] Setting the show bar and lock bar registry values.
DEBUG: 30790 | [22:58:04][Set-D365FavoriteBookmark] Setting the show bar and lock bar registry values.
Set-ItemProperty : Cannot find path 'HKCU:\Software\Microsoft\Internet Explorer\MINIE\' because it does not exist.
At line:30791 char:9
+         Set-ItemProperty -Path $pathShowBar -Name $propShowBar -Value ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (HKCU:\Software\...Explorer\MINIE\:String) [Set-ItemProperty], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

Please find some helpful links here:

@FH-Inway
Copy link
Member

FH-Inway commented Dec 9, 2023

Thanks for the reminder, we wanted to do this in #587 , but at the time, Edge was not already preinstalled on all environment types. Seems that is now the case, so we could start work on it.

@Splaxi
Copy link
Collaborator

Splaxi commented Dec 11, 2023

Let's crack it - and support FireFox / Chrome and Edge at the same time.

I'll take this one on me...

@Splaxi
Copy link
Collaborator

Splaxi commented Dec 18, 2023

This is part of the 0.7.7 release. Will be available later today...

@Splaxi Splaxi closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants