X Tutup
The Wayback Machine - https://web.archive.org/web/20220607124853/https://github.com/PowerShell/PowerShell/issues/17445
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

After automatic update, context menu entry "open Powershell Core 7 here" is gone #17445

Open
5 tasks done
aleferri opened this issue May 26, 2022 · 2 comments
Open
5 tasks done
Assignees
Labels
Area-Maintainers-Build Resolution-Duplicate

Comments

@aleferri
Copy link

@aleferri aleferri commented May 26, 2022

Prerequisites

Steps to reproduce

Install previous powershell core, set "add open here powershell core" to the context menu for the folders, also check "keep updated with microsoft update"
Run microsoft update, let it update powershell core 7.

Expected behavior

The same settings you selected during installation have been kept. The update is seamless

Actual behavior

The settings have been dropped

Environment data

Name                           Value
----                           -----
PSVersion                      7.2.4
PSEdition                      Core
GitCommitId                    7.2.4
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

OS Data

Version    Caption
-------    -------
10.0.19044 Microsoft Windows 10 Pro

Windows update log

2022/05/26 13:28:58.6583082 12788 11516 Shared          InitializeSus
2022/05/26 13:28:58.6586340 12788 11516 IdleTimer       Non-AoAc machine.  Aoac operations will be ignored.
2022/05/26 13:28:58.6587034 12788 11516 Agent           WU client version 10.0.19041.1682
2022/05/26 13:28:58.6588972 12788 11516 Agent           SleepStudyTracker: Machine is non-AOAC. Sleep study tracker disabled.
2022/05/26 13:28:58.6589494 12788 11516 Agent           Base directory: C:\WINDOWS\SoftwareDistribution
2022/05/26 13:28:58.6592783 12788 11516 Agent           Datastore directory: C:\WINDOWS\SoftwareDistribution\DataStore\DataStore.edb
2022/05/26 13:28:58.6597836 12788 11516 DataStore       JetEnableMultiInstance succeeded - applicable param count: 5, applied param count: 5
2022/05/26 13:28:58.6817924 12788 11516 Shared          UpdateNetworkState Ipv6, cNetworkInterfaces = 2.
2022/05/26 13:28:58.6819903 12788 11516 Shared          UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
2022/05/26 13:28:58.6830219 12788 11516 Shared          Network state: Connected
2022/05/26 13:29:08.7483340 12788 11516 Shared          UpdateNetworkState Ipv6, cNetworkInterfaces = 2.
2022/05/26 13:29:08.7483401 12788 11516 Shared          UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
2022/05/26 13:29:08.7483464 12788 11516 Shared          Power status changed
2022/05/26 13:29:08.7501887 12788 11516 Agent           Initializing global settings cache
2022/05/26 13:29:08.7501901 12788 11516 Agent           WSUS server: (null)
2022/05/26 13:29:08.7501908 12788 11516 Agent           WSUS status server: (null)
2022/05/26 13:29:08.7501914 12788 11516 Agent           Alternate Download Server: (null)
2022/05/26 13:29:08.7501960 12788 11516 Agent           Fill Empty Content Urls: No
2022/05/26 13:29:08.7501970 12788 11516 Agent           Target group: (Unassigned Computers)
2022/05/26 13:29:08.7501976 12788 11516 Agent           Windows Update access disabled: No
2022/05/26 13:29:08.7501984 12788 11516 Agent           Do not connect to Windows Update Internet locations: No
2022/05/26 13:29:08.7510536 12788 11516 Agent               Timer: 7971F918-A847-4430-9279-4A52D1EFE18D, Expires 2022-05-26 12:02:15, not idle-only, network-only
2022/05/26 13:29:08.7510569 12788 11516 Agent               Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2022-05-26 19:34:26, not idle-only, not network-only
2022/05/26 13:29:08.7542710 12788 11516 Agent           Initializing Windows Update Agent
2022/05/26 13:29:08.7543107 12788 11516 DownloadManager Download manager restoring 0 downloads
2022/05/26 13:29:08.7543379 12788 11516 Agent           CPersistentTimeoutScheduler | GetTimer, returned hr = 0x00000000
2022/05/26 13:29:08.7546074 12788 11516 IdleTimer       IdleTimer::NetworkStateChanged. Network connected? Yes
2022/05/26 13:29:08.7561750 9324  1700  ComApi          Reloading CUpdate D196881B-92D7-420F-9016-2B58A0655A93.200 from datastore...
2022/05/26 13:29:08.7585561 9324  1700  ComApi          Deserializing update from serialized BSTR.
2022/05/26 13:29:08.7587831 9324  1700  ComApi          Byte length of the input buffer for deserialization: 34482
2022/05/26 13:29:08.7601452 9324  1700  ComApi          Deserializing update from serialized BSTR.
2022/05/26 13:29:08.7601842 9324  1700  ComApi          Deserialized installable update PowerShell v7.2.4 (x64), UpdateID = {D196881B-92D7-420F-9016-2B58A0655A93.200}, CallbackInfo cookie length = 0
2022/05/26 13:29:08.7602053 9324  1700  ComApi          Reload successful, UpdateID =  D196881B-92D7-420F-9016-2B58A0655A93.200, CallbackInfo cookie length = 0, Current deployment action = 1, New deployment action = 1
2022/05/26 13:29:08.7701731 12788 6328  DownloadManager Received power state change notification: Old: <unknown>; New: AC.
2022/05/26 13:29:08.7701748 12788 6328  DownloadManager Power state changed from <unknown> to AC.
2022/05/26 13:29:09.1091778 9324  5928  ComApi          Serializing CUpdate D196881B-92D7-420F-9016-2B58A0655A93.200
2022/05/26 13:29:09.1097386 9324  5928  ComApi          Update serialization complete. BSTR byte length = 34482, CallbackInfo cookie length = 0
2022/05/26 13:39:08.7756496 12788 2980  Agent           Earliest future timer found: 
2022/05/26 13:39:08.7756593 12788 2980  Agent               Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2022-05-26 19:34:26, not idle-only, not network-only
2022/05/26 13:39:09.7822724 12788 11516 Shared          UninitializeSUS
2022/05/26 13:39:09.7822775 12788 11516 Misc            CSusClientGlobal::DoServicePreShutdown
2022/05/26 13:39:09.7823003 12788 11516 IdleTimer       Idle timer disabled in preparation for service shutdown
2022/05/26 13:39:09.7823063 12788 11516 Misc            WUTaskManager uninit
2022/05/26 13:39:09.7823136 12788 11516 Agent           Earliest future timer found: 
2022/05/26 13:39:09.7823198 12788 11516 Agent               Timer: 7971F918-A847-4430-9279-4A52D1EFE18D, Expires 2022-05-26 12:02:15, not idle-only, network-only
2022/05/26 13:39:09.7859027 12788 11516 Misc            CreateSessionStateChangeTrigger, TYPE:2, Enable:No
2022/05/26 13:39:09.7859057 12788 11516 Misc            CreateSessionStateChangeTrigger, TYPE:4, Enable:No
2022/05/26 13:39:09.7883582 12788 11516 Misc            Agent uninit
2022/05/26 13:39:09.7888735 12788 11516 Misc            Reporter uninit
2022/05/26 13:39:09.7889365 12788 11516 Misc            network cost manager uninit
2022/05/26 13:39:09.7889564 12788 11516 Misc            Eventer uninit
2022/05/26 13:39:10.8033568 12788 11516 Misc            ServiceManager uninit
2022/05/26 13:39:10.8034284 12788 11516 Misc            PersistentTimeoutScheduler uninit
2022/05/26 13:39:10.8034320 12788 11516 Misc            datastore uninit
2022/05/26 13:39:10.8402021 12788 11516 Misc            setting cache uninit
2022/05/26 13:39:10.8402039 12788 11516 Misc            security checker uninit
2022/05/26 13:39:10.8402063 12788 11516 Misc            Test Hook uninit
2022/05/26 13:39:10.8402070 12788 11516 Misc            IdleTimer uninit
2022/05/26 13:39:10.8404645 12788 11516 Shared          * END * Service exit Exit code = 0x240001

Visuals

No response

@aleferri aleferri added the Needs-Triage label May 26, 2022
@aleferri
Copy link
Author

@aleferri aleferri commented May 31, 2022

News?

@daxian-dbw daxian-dbw added the Area-Maintainers-Build label Jun 3, 2022
@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Jun 6, 2022

Duplicate of #16886

@TravisEz13 TravisEz13 marked this as a duplicate of #16886 Jun 6, 2022
@TravisEz13 TravisEz13 added Resolution-Duplicate and removed Needs-Triage labels Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Maintainers-Build Resolution-Duplicate
Projects
None yet
Development

No branches or pull requests

3 participants
X Tutup