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

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

Open
forlayo opened this issue Sep 24, 2020 · 2 comments
Open

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

forlayo opened this issue Sep 24, 2020 · 2 comments

Comments

@forlayo
Copy link

forlayo commented Sep 24, 2020

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.

@NikolayPianikov
Copy link
Contributor

@forlayo First of all try resetting password for user probandue to some password. After that login under probandue and run excel for him at least once. After that try using runAs under your user account.

@forlayo
Copy link
Author

forlayo commented Oct 11, 2020

@NikolayPianikov just tried, still failing :(

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

2 participants