psexec

nginx 安装

北战南征 提交于 2019-11-27 08:02:36
下载: https://nginx.org/en/download.html 基本的安装流程谷歌一下, 这里说一下几个问题 1:注册服务(cmd要用管理员权限) 网上大多数是:WinSW.NET4.exe 方式 这种注册下来确实 不能执行 reload,然后 找到一篇文章 : http://www.dbmng.com/art-2265.html 我们可以到官网下载: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec 当前目录 在 nginx 下 : "c:\pstools\psexec.exe" -s c:\nginx\nginx.exe -p c:\nginx -s reload 当前目录在 PsExec 下:psexec.exe -s c:\nginx\nginx.exe -p c:\nginx -s reload 但是执行仍会报错,还没解决 来源: https://www.cnblogs.com/myloveblogs/p/11352842.html

How to run an R script (which has database connection using integrated windows authentication) on a remote machine under local username?

偶尔善良 提交于 2019-11-26 23:39:29
问题 Consider the following scenario: Database server: DBServer R Server: RServer Orchestrator Server: Server1 We have following R Script (DB.r): lib.directory = "D:\\RTest" install.packages("RODBC", repos = "http://cran.us.r-project.org", lib = lib.directory) library(RODBC, lib.loc = lib.directory) db.string <- "driver={ODBC Driver 13 for SQL Server};server=DBServer;database=Databse1;trusted_connection=Yes;" db.channel <- odbcDriverConnect(db.string) close(db.channel) Server1 executs the R script

Execute exe on remote machine

本秂侑毒 提交于 2019-11-26 23:38:53
问题 I'm trying to execute notepad.exe on a remote machine, but it's not working now. What am I missing? var ui = new ImpersonateUser(); //the process to restart const string processName = "notepad.exe"; var serverName = "serverName"; try { //Use adbadmin for access ui.Impersonate(_domain, _userName, _pass); //Start the process ProcessStartInfo info = new ProcessStartInfo("C:\\PsTools"); info.FileName = @"C:\PsTools\psexec.exe"; info.Arguments = @"""\\" + serverName + @"C:\WINDOWS\notepad.exe""";

PSEXEC, access denied errors

狂风中的少年 提交于 2019-11-26 19:42:30
While I'm using PSEXEC.exe getting 'Access denied' error for remote systems. Any idea about how to solve this? james Hi i am placing here a summary from many sources online for various solutions to "access is denied" : most information can be found here (including requirements needed) - sysinternal help as someone mentioned add this reg key, and then restart the computer : reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f Read this knowledge base article to learn what this does and why it is needed Disable firewall