Skip to content

Vinay's IT Press

Vinay, sharing the wisdom to the world!

  • About
  • Check pool capacity in VNX
  • EMC VMXPerl script to collect total capacity allocated based on Initiator groups
  • Help Wikipedia
  • Perl & ME: Cisco MDS healthchecks scripts
  • Symmetrix – Extending Striped Meta Devices
  • Troubleshooting SAN

Vinay

Vinay

Vinay

Proud and Tolerant Indian

View Full Profile →

Blog Stats

  • 90,998 hits

Archives

  • March 2022
  • January 2022
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • March 2021
  • January 2021
  • November 2020
  • October 2020
  • July 2020
  • May 2020
  • January 2020
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • November 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • May 2017
  • January 2017
  • December 2016
  • November 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • June 2014
  • May 2014
  • February 2014
  • January 2014
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • February 2013
  • January 2013
  • December 2012
  • October 2012
  • September 2012
  • August 2012
  • June 2012
  • April 2012
  • January 2012
  • November 2011
  • September 2011
  • January 2011
  • December 2010
  • September 2010
  • July 2010

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 236 other followers

Run a scheduled task using System account

Written by Vinay

We need to adhere by the password change policy in any IT org. But one of the side effects of such policies is your scheduled tasks running with your account credentials.

Here is solution to run a scheduled task as “System” Account.

Open cmd with “Run As” administrator account.

SCHTASKS /CHANGE /RU “NT Authority\System” /TN “my_job0”

SCHTASKS – Native Windows 2003+ command

/Change – Changes the existing task

/RU – Run as User [system account does not have password]

/TN – Task Name

Share this:

  • Click to email this to a friend (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • More
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Like this:

Like Loading...

Related

October 28, 2013 · Posted in Uncategorized · Tagged System account, Task scheduler, windows ·

Leave a Reply Cancel reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. ( Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. ( Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. ( Log Out /  Change )

Cancel

Connecting to %s

Post navigation

« Debian Sid Vs. Ubuntu
NetApp commands for beginners »
Blog at WordPress.com.
  • Follow Following
    • Vinay's IT Press
    • Join 236 other followers
    • Already have a WordPress.com account? Log in now.
    • Vinay's IT Press
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
%d bloggers like this: