using psexec with cmdkey to store credentials is not working with latest psexec

Padma Kuruganti 11 Reputation points
2021-08-11T15:07:12.76+00:00

I am using psexec -s cmdkey to store user credentials. This was working with 1.94 version of psexec and is not working with the latest version 2.34.

I want to know what are the new changes in the psexec? It looks like security related. Here is how it is invoked in my app..
Process procesCred = new Process();
procesCred.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
procesCred.StartInfo.FileName = "cmd.exe";
procesCred.StartInfo.Arguments = CommandLineutil; //psexec .......
procesCred.StartInfo.WorkingDirectory = psexecPath;
procesCred.Start();

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,132 questions
0 comments No comments
{count} votes