Allow opening cmd.exe as service user such as SYSTEM or LOCALSERVICE #22799

Closed
opened 2026-01-31 08:23:49 +00:00 by claunia · 1 comment
Owner

Originally created by @amithegde on GitHub (Jan 26, 2025).

Description of the new feature

currently I use psexec -i -s cmd or pxexec -i -u "nt authority\localservice" cmd to open a cmd as servcie account. But it opens a new cmd window and it will not have some of the customizations availble to the terminal. Such as For example Ctrl+shift+F to search.

Proposed technical implementation details

No response

Originally created by @amithegde on GitHub (Jan 26, 2025). ### Description of the new feature currently I use `psexec -i -s cmd` or `pxexec -i -u "nt authority\localservice" cmd` to open a cmd as servcie account. But it opens a new cmd window and it will not have some of the customizations availble to the terminal. Such as For example `Ctrl+shift+F` to search. ### Proposed technical implementation details _No response_
Author
Owner

@zadjii-msft commented on GitHub (Jan 29, 2025):

Yep. This is basically the same as #10276

This may be best served by https://github.com/microsoft/sudo/issues/3 (we spec'd support for it, just never implemented it)

@zadjii-msft commented on GitHub (Jan 29, 2025): Yep. This is basically the same as #10276 This may be best served by https://github.com/microsoft/sudo/issues/3 (we spec'd support for it, just never implemented it)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22799