部署应用程序脚本+GUIRunOnce命令

部署应用程序脚本:

   应用程序配置:运行脚本(cmd.exe):

   可执行程序:cmd.exe

   参数:        /c net user ppc boc.123 /add

   运行方式账户: NT AUTHORITYSystem

   运行PowerShell脚本:

   可执行程序: %WINDIR%System32WindowsPowerShellv1.0PowerShell.exe

   参数:        -command set-service mpssvc -StartupType manual

================================================

 

GUIRunOnce命令:

1)运行PowerShell命令:%WINDIR%System32WindowsPowerShellv1.0PowerShell.exe -command set-service mpssvc -StartupType manual

2)运行批处理命令:      cmd.exe /c net user ppc boc.123 /add

                        或者:sc config spooler start= demand (设置spooler服务为手动)

原文地址:https://www.cnblogs.com/dreamer-fish/p/3442247.html