JetBrains / JetBrains/runAs

It's not working with EXCEL.EXE under Windows 10 version 2004

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
81
Forks
24
PR merge metrics
No merged PRs in 30d

Description

I am trying to use runAs tool to run EXCEL.EXE as another user, and it fails while being under Windows 10 version 2004. ( works on 19xx versions )

This is the output I got:

```
C:\Program Files (x86)\Microsoft Office\root\Office16>JetBrains.runAs.exe -u:probanduela -p:chapuza -s:show EXCEL.EXE
JetBrains RunAs x64 1.0.0.061
Copyright (C) 2017 JetBrains. All rights reserved.
Runs a process under the specified windows user account.

Argument(s): -u:probanduela -p:***** -s:show EXCEL.EXE

Settings:
user_name: probanduela
domain: .
working_directory: C:\Program Files (x86)\Microsoft Office\root\Office16
exit_code_base: -100000
integrity_level: auto
inheritance_mode: auto
show_mode: show
self_testing: 0
executable: EXCEL.EXE
command_line_args:

Error: Una sesi¾n de inicio especificada no existe. Es posible que haya finalizado.

CreateProcessWithLogonW returns the Win32 error 0x00000520.
```

Also tried runing runAs with psexec to be on a LocalSytem account, and error is similar but with CreateProcessAsUser :
```
C:\Program Files (x86)\Microsoft Office\root\Office16>JetBrains.runAs.exe -u:probanduela -p:chapuza -s:show EXCEL.EXE
JetBrains RunAs x64 1.0.0.061
Copyright (C) 2017 JetBrains. All rights reserved.
Runs a process under the specified windows user account.

Argument(s): -u:probanduela -p:***** -s:show EXCEL.EXE

Settings:
user_name: probanduela
domain: .
working_directory: C:\Program Files (x86)\Microsoft Office\root\Office16
exit_code_base: -100000
integrity_level: auto
inheritance_mode: auto
show_mode: show
self_testing: 0
executable: EXCEL.EXE
command_line_args:

Error: Una sesi¾n de inicio especificada no existe. Es posible que haya finalizado.

CreateProcessAsUser returns the Win32 error 0x00000520.
```

What I am doing wrong? as I said, this have been working on previous Windows versions.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.