Skip to content

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

@forlayo

Description

@forlayo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions