Z
zino
if I run the following from the command line as:
C:\PsTools>psexec -u domain\myUser -p myPassword -i \\remoteServer cmd.exe
it run successfully and it opens the command window on the remote server
if I try to run this same command from an asp net web page from the same
server as :
Dim p As New System.Diagnostics.Process
Dim pi As New System.Diagnostics.ProcessStartInfo
pi.FileName = "C:\PsTools\psexec.exe"
pi.Arguments = " -u domain\myUser -p myPassword \\remoteServer cmd.exe -i"
p.StartInfo = pi
pi.UseShellExecute = True
p.Start()
I get "Access denied" error.
user "myUser" is a domain account, and has administrator privilege on both
servers (the local where the command is issued and the remote server)
thanks for help
C:\PsTools>psexec -u domain\myUser -p myPassword -i \\remoteServer cmd.exe
it run successfully and it opens the command window on the remote server
if I try to run this same command from an asp net web page from the same
server as :
Dim p As New System.Diagnostics.Process
Dim pi As New System.Diagnostics.ProcessStartInfo
pi.FileName = "C:\PsTools\psexec.exe"
pi.Arguments = " -u domain\myUser -p myPassword \\remoteServer cmd.exe -i"
p.StartInfo = pi
pi.UseShellExecute = True
p.Start()
I get "Access denied" error.
user "myUser" is a domain account, and has administrator privilege on both
servers (the local where the command is issued and the remote server)
thanks for help