Windows sc user




















Add Comment. Save my name, email, and website in this browser for the next time I comment. Post Comment. Jump To:. Run command box. SC Command. More SC Commands.

Option for SC Command. SC start schedule. SC start servicename. This command job is to print a text file to a line printer, in the background.

This command helps you to set properties and rename them. Command aids you to display configuration information about a printer. With the help of the TREE command, you can get a list of files and folders in a graphical tree. However, I see no options on SC for executing a command as another user.

I see the 'obj' option which accepts a username, but that appears to be for setting the user account under which the service itself should run under.

Set up a scheduled task with a specific logon account. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 9 years, 11 months ago. Active 7 years, 9 months ago. Viewed 43k times. Improve this question. Are the to machines joined to the same domain? Add a comment.

Active Oldest Votes. Jeremy In powershell, "sc" is an alias to Set-Content. If the service has "interact with desktop" set already, you'll get an error code To get around this: sc. Show 2 more comments. You can workaround this using the following syntax: sc. Alberto Dallagiacoma Alberto Dallagiacoma 81 1 1 silver badge 4 4 bronze badges. It doesn't work for me. I wonder if this method support other characters different than alphanumeric. The Overflow Blog. Podcast Making Agile work for data science.

Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked Related



0コメント

  • 1000 / 1000