Open Elsewhere42 opened 7 months ago
Here are the full logs:
I know it says "updates are disabled due to running as Admin in user setup" but this is impossible. My computer is rigged by my employer so I cannot run things as administrator.
C:\Users\UserName\AppData\Local\Programs\Microsoft VS Code>code.exe --verbose --log debug --disable-extensions
C:\Users\UserName\AppData\Local\Programs\Microsoft VS Code> [main 2024-01-23T18:22:11.131Z] PolicyConfiguration#initialize [main 2024-01-23T18:22:11.132Z] PolicyConfiguration#updatePolicyDefinitions [ 'http.proxy', 'http.proxyStrictSSL', 'http.proxyKerberosServicePrincipal', 'http.proxyAuthorization', 'http.proxySupport', 'http.systemCertificates', 'http.experimental.systemCertificatesV2', 'telemetry.telemetryLevel', 'telemetry.enableTelemetry', 'update.mode', 'update.channel', 'update.enableWindowsBackgroundUpdates', 'update.showReleaseNotes' ] [main 2024-01-23T18:22:11.134Z] NativePolicyService#_updatePolicyDefinitions - Found 1 policy definitions [main 2024-01-23T18:22:11.147Z] [File Watcher (node.js)] Request to start watching: c:\Users\UserName\AppData\Roaming\Code\User (excludes:
, includes: , correlationId: ),c:\Users\UserName\AppData\Roaming\Code\User\settings.json (excludes: , includes: , correlationId: ) [main 2024-01-23T18:22:11.148Z] NativePolicyService#onDidPolicyChange - Updated policy values: {} [main 2024-01-23T18:22:11.149Z] PolicyConfiguration#update [ 'update.mode' ] [main 2024-01-23T18:22:11.170Z] Starting VS Code [main 2024-01-23T18:22:11.170Z] from: c:\Users\UserName\AppData\Local\Programs\Microsoft VS Code\resources\app [main 2024-01-23T18:22:11.171Z] args: { : [], diff: false, merge: false, add: false, goto: false, 'new-window': false, 'reuse-window': false, wait: false, help: false, 'list-extensions': false, 'show-versions': false, 'pre-release': false, version: false, verbose: true, log: [ 'debug' ], status: false, 'prof-startup': false, 'no-cached-data': false, 'prof-v8-extensions': false, 'disable-extensions': true, 'disable-gpu': false, 'disable-chromium-sandbox': false, 'ms-enable-electron-run-as-node': false, telemetry: false, debugRenderer: false, 'enable-smoke-test-driver': false, logExtensionHostCommunication: false, 'skip-release-notes': false, 'skip-welcome': false, 'disable-telemetry': false, 'disable-updates': false, 'use-inmemory-secretstorage': false, 'disable-workspace-trust': false, 'disable-crash-reporter': false, 'crash-reporter-id': 'be9c9c01-6d7b-4d92-8556-a06dd3a2f24f', 'skip-add-to-recently-opened': false, 'unity-launch': false, 'open-url': false, 'file-write': false, 'file-chmod': false, force: false, 'do-not-sync': false, trace: false, 'force-user-env': false, 'force-disable-user-env': false, 'open-devtools': false, 'disable-gpu-sandbox': false, '__enable-file-policy': false, 'enable-coi': false, 'no-proxy-server': false, 'no-sandbox': false, nolazy: false, 'force-renderer-accessibility': false, 'ignore-certificate-errors': false, 'allow-insecure-localhost': false, 'disable-dev-shm-usage': false, 'profile-temp': false, logsPath: 'C:\Users\UserName\AppData\Roaming\Code\logs\20240123T122211' } [main 2024-01-23T18:22:11.172Z] Resolving machine identifier... [main 2024-01-23T18:22:11.173Z] Resolved machine identifier: 60c996423c869f575fa4dd8886b167f8e6525788fbf5d7c1ffba8b0a0d0ed9ce [main 2024-01-23T18:22:11.173Z] Main->SharedProcess#connect [main 2024-01-23T18:22:11.174Z] PolicyConfiguration#updatePolicyDefinitions [ 'terminal.integrated.automationProfile.linux', 'terminal.integrated.automationProfile.osx', 'terminal.integrated.automationProfile.windows', 'terminal.integrated.profiles.windows', 'terminal.integrated.profiles.osx', 'terminal.integrated.profiles.linux', 'terminal.integrated.useWslProfiles', 'terminal.integrated.inheritEnv', 'terminal.integrated.persistentSessionScrollback', 'terminal.integrated.showLinkHover', 'terminal.integrated.ignoreProcessNames' ] [main 2024-01-23T18:22:11.177Z] PolicyConfiguration#updatePolicyDefinitions [ 'terminal.integrated.defaultProfile.linux', 'terminal.integrated.defaultProfile.osx', 'terminal.integrated.defaultProfile.windows' ] [main 2024-01-23T18:22:11.183Z] PolicyConfiguration#update [] [main 2024-01-23T18:22:11.183Z] PolicyConfiguration#update [] [main 2024-01-23T18:22:11.187Z] StorageMainService: creating application storage [main 2024-01-23T18:22:11.191Z] ElectronURLListener: waiting for window to be ready to handle URLs... [main 2024-01-23T18:22:11.191Z] lifecycle (main): phase changed (value: 2) [main 2024-01-23T18:22:11.191Z] windowsManager#open [main 2024-01-23T18:22:11.192Z] windowsManager#open pathsToOpen [ { backupPath: 'C:\Users\UserName\AppData\Roaming\Code\Backups\1698417450426', remoteAuthority: undefined } ] [main 2024-01-23T18:22:11.192Z] windowsManager#doOpenEmpty { restore: true, remoteAuthority: undefined, filesToOpen: undefined, forceNewWindow: true } [main 2024-01-23T18:22:11.193Z] IPC Object URL: Registered new channel vscode:af69d770-32c4-4cf0-8795-a930bbf2210e. [main 2024-01-23T18:22:11.193Z] window#validateWindowState: validating window state on 3 display(s) { mode: 1, x: 172, y: 79, width: 1579, height: 900 } [main 2024-01-23T18:22:11.194Z] window#validateWindowState: multi-monitor working area { x: 0, y: 0, width: 1920, height: 1080 } [main 2024-01-23T18:22:11.194Z] window#ctor: using window state { mode: 1, x: 172, y: 79, width: 1579, height: 900 } [main 2024-01-23T18:22:11.233Z] window#load: attempt to load window (id: 1) [main 2024-01-23T18:22:11.248Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 0, emptyToRestore: 1, emptyToOpen: 0) [main 2024-01-23T18:22:11.248Z] lifecycle (main): phase changed (value: 3) [main 2024-01-23T18:22:11.255Z] resolveShellEnv(): skipped (Windows) [main 2024-01-23T18:22:11.265Z] update#setState disabled [main 2024-01-23T18:22:11.265Z] update#ctor - updates are disabled due to running as Admin in user setup [main 2024-01-23T18:22:11.279Z] [File Watcher (node.js)] Started watching: 'c:\Users\UserName\AppData\Roaming\Code\User' [main 2024-01-23T18:22:11.280Z] [File Watcher (node.js)] Started watching: 'c:\Users\UserName\AppData\Roaming\Code\User\settings.json' [main 2024-01-23T18:22:11.347Z] [File Watcher (node.js)] [raw] ["change"] globalStorage [main 2024-01-23T18:22:11.348Z] [File Watcher (node.js)] [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [main 2024-01-23T18:22:11.350Z] [File Watcher (node.js)] [raw] ["change"] globalStorage [main 2024-01-23T18:22:11.351Z] [File Watcher (node.js)] [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [21112:0123/122211.373:ERROR:gpu_process_host.cc(958)] GPU process exited unexpectedly: exit_code=-1073741819 [main 2024-01-23T18:22:11.394Z] [File Watcher (node.js)] [raw] ["change"] globalStorage [main 2024-01-23T18:22:11.394Z] [File Watcher (node.js)] [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [main 2024-01-23T18:22:11.400Z] [File Watcher (node.js)] [raw] ["change"] globalStorage [main 2024-01-23T18:22:11.400Z] [File Watcher (node.js)] [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [main 2024-01-23T18:22:11.437Z] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [main 2024-01-23T18:22:11.437Z] User data changed [21112:0123/122211.464:ERROR:gpu_process_host.cc(958)] GPU process exited unexpectedly: exit_code=-1073741819 [21112:0123/122211.544:ERROR:gpu_process_host.cc(958)] GPU process exited unexpectedly: exit_code=-1073741819 [main 2024-01-23T18:22:11.628Z] resolveShellEnv(): skipped (Windows) [21112:0123/122211.875:ERROR:gpu_process_host.cc(958)] GPU process exited unexpectedly: exit_code=-1073741819 [21112:0123/122212.432:ERROR:gpu_process_host.cc(958)] GPU process exited unexpectedly: exit_code=-1073741819 [21112:0123/122212.522:ERROR:gpu_process_host.cc(958)] GPU process exited unexpectedly: exit_code=-1073741819 [main 2024-01-23T18:22:12.737Z] StorageMainService: creating workspace storage (1698417450426) [main 2024-01-23T18:22:12.889Z] window#load: window reported ready (id: 1) [main 2024-01-23T18:22:12.890Z] ElectronURLListener#flush(): flushing URLs [21112:0123/122212.907:ERROR:gpu_process_host.cc(958)] GPU process exited unexpectedly: exit_code=-1073741819 [main 2024-01-23T18:22:12.925Z] [SharedProcess] onWindowConnection for: vscode:createSharedProcessChannelConnectionResult [main 2024-01-23T18:22:12.926Z] [UtilityProcess type: shared-process, pid: ]: creating new... [main 2024-01-23T18:22:12.928Z] [UtilityProcessWorker]: createWorker(window: 1, moduleId: vs/platform/files/node/watcher/watcherMain) [main 2024-01-23T18:22:12.928Z] [UtilityProcess id: 1, type: fileWatcher, pid: ]: creating new... [main 2024-01-23T18:22:12.948Z] [UtilityProcess id: 1, type: extensionHost, pid: ]: creating new... [main 2024-01-23T18:22:13.054Z] [File Watcher (node.js)] [raw] ["change"] globalStorage [main 2024-01-23T18:22:13.055Z] [File Watcher (node.js)] [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [main 2024-01-23T18:22:13.060Z] [File Watcher (node.js)] [raw] ["change"] globalStorage [main 2024-01-23T18:22:13.061Z] [File Watcher (node.js)] [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [main 2024-01-23T18:22:13.122Z] [UtilityProcess type: shared-process, pid: 17124]: successfully created [main 2024-01-23T18:22:13.139Z] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [main 2024-01-23T18:22:13.139Z] User data changed [main 2024-01-23T18:22:13.262Z] [UtilityProcess id: 1, type: fileWatcher, pid: 29624]: successfully created [main 2024-01-23T18:22:13.269Z] [File Watcher (node.js)] [raw] ["change"] globalStorage [main 2024-01-23T18:22:13.270Z] [File Watcher (node.js)] [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [main 2024-01-23T18:22:13.356Z] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\UserName\AppData\Roaming\Code\User\globalStorage [main 2024-01-23T18:22:13.356Z] User data changed [main 2024-01-23T18:22:13.401Z] [UtilityProcess id: 1, type: extensionHost, pid: 22788]: successfully created [main 2024-01-23T18:22:13.444Z] [SharedProcess] IPC ready [main 2024-01-23T18:22:13.445Z] Main->SharedProcess#connect: connection established [main 2024-01-23T18:22:13.456Z] [File Watcher (node.js)] Request to start watching: c:\Users\UserName\AppData\Roaming\Code\User (excludes: , includes: , correlationId: ),c:\Users\UserName\AppData\Roaming\Code\User\settings.json (excludes: , includes: , correlationId: ) [main 2024-01-23T18:22:13.460Z] [File Watcher (node.js)] Started watching: 'c:\Users\UserName\AppData\Roaming\Code\User' [main 2024-01-23T18:22:13.461Z] [File Watcher (node.js)] Started watching: 'c:\Users\UserName\AppData\Roaming\Code\User\settings.json' [21112:0123/122213.479:ERROR:gpu_process_host.cc(958)] GPU process exited unexpectedly: exit_code=-1073741819 [main 2024-01-23T18:22:13.486Z] [SharedProcess] Overall ready [main 2024-01-23T18:22:13.493Z] resolveShellEnv(): skipped (Windows) [main 2024-01-23T18:22:13.524Z] [File Watcher (node.js)] Request to start watching: c:\Users\UserName.vscode\extensions (excludes: , includes: , correlationId: ),c:\Users\UserName.vscode\extensions\extensions.json (excludes: , includes: , correlationId: ) [main 2024-01-23T18:22:13.528Z] [File Watcher (node.js)] Started watching: 'c:\Users\UserName.vscode\extensions' [main 2024-01-23T18:22:13.530Z] [File Watcher (node.js)] Started watching: 'c:\Users\UserName.vscode\extensions\extensions.json' [main 2024-01-23T18:22:13.772Z] lifecycle (main): phase changed (value: 4) [main 2024-01-23T18:22:14.052Z] Terminal profile not validated bash (MSYS2) [ { path: 'C:\msys64\usr\bin\bash.exe', isUnsafe: true } ] [main 2024-01-23T18:22:14.053Z] Terminal profile not validated Cygwin [ { path: 'C:\cygwin64\bin\bash.exe', isUnsafe: true }, { path: 'C:\cygwin\bin\bash.exe', isUnsafe: true } ] [21112:0123/122214.602:ERROR:gpu_process_host.cc(958)] GPU process exited unexpectedly: exit_code=-1073741819 [21112:0123/122214.602:FATAL:gpu_data_manager_impl_private.cc(431)] GPU process isn't usable. Goodbye.
Attached is pic showing that I am installing VS Code in a command prompt that is not admin, however it still says that I'm running as an admin.
Ok, I found a an article with instructions on how to completely uninstall VSCode from my system. Everything was purged out that I could find. I then rebooted with [Shift] + Shutdown.
The "VSCodeUserSetup-x64-1.85.2.exe" installer still complained about running in administrator mode, even though my system is locked down by my administrators so no one cannot run anything as administrator.
On a hunch I ran the "VSCodeSetup-x64-1.85.2.exe" full system installer for VSCode that requires administrator permissions and that ran successfully.
Not sure why or how. Things are just screwy and don't make any sense.
VS Code appears to be working normally now.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
I tried to disable the GPU:
I tried disabling both at the same time: