+ Post New Thread
Results 1 to 6 of 6
Windows 7 Thread, Allowing non-administrators start a service by a batch command in Technical; Just need a way for a service to start itself 15 minutes after log on. If I right click the ...
  1. #1

    Join Date
    May 2011
    Location
    Jus North of London, close but not too close
    Posts
    912
    Thank Post
    202
    Thanked 80 Times in 74 Posts
    Rep Power
    52

    Allowing non-administrators start a service by a batch command

    Just need a way for a service to start itself 15 minutes after log on.

    If I right click the batch file and run as administrator it works. Windows 7 is a lot more strict when it comes to doing this.

    I have tried doing a Scheduled Task but this never works get an error in Task History with the code 2147943645 but I'm guessing this is a permissions issue.

    I have also through a policy given a local administrator account start service security rights and then in the task scheduler to use this local admin user.

    So close but yet so far away.

    I don't want to do anything to drastic that might open up a security can of worms :-( .

  2. #2

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    Create a Scheduled Task using GPP (as you suggested) and specify the DOMAIN\ADMINISTRATOR account and password.

  3. Thanks to Michael from:

    Davit2005 (20th February 2012)

  4. #3

    Join Date
    Feb 2009
    Location
    Essex
    Posts
    225
    Thank Post
    22
    Thanked 16 Times in 12 Posts
    Rep Power
    14
    Runas Password might also be an option.

  5. Thanks to CommodoreS from:

    Davit2005 (20th February 2012)

  6. #4

    Join Date
    May 2011
    Location
    Jus North of London, close but not too close
    Posts
    912
    Thank Post
    202
    Thanked 80 Times in 74 Posts
    Rep Power
    52
    Quote Originally Posted by Michael View Post
    Create a Scheduled Task using GPP (as you suggested) and specify the DOMAIN\ADMINISTRATOR account and password.
    Thanks Micheal, will give this a try in the morning :-D

  7. #5

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,214 Times in 761 Posts
    Rep Power
    395
    Quote Originally Posted by Michael View Post
    Create a Scheduled Task using GPP (as you suggested) and specify the DOMAIN\ADMINISTRATOR account and password.
    If you do this, make sure the policy object cannot be read by users, or it may create the potential for someone to discover your Administrator password as per this post: http://www.edugeek.net/forums/securi...eferences.html

    Recommend you create a separate Group Policy Object with the security filtering set to Domain Computers only (not Authenticated Users, which is the default).

  8. #6

    Join Date
    May 2011
    Location
    Jus North of London, close but not too close
    Posts
    912
    Thank Post
    202
    Thanked 80 Times in 74 Posts
    Rep Power
    52
    Sorry for delay, I'm still having issues.

    Just to Highlight points
    Machines are all Windows 7, Domain has 2008 R2 Schema
    If I right click the batch file and run-as administrator it works no problem.
    I am distributing the Task via group policy
    I keep getting error 0x800704DD on last result of task
    The task is set to run as [Domain]\Administrator but it does not ask me for password when I configure in the GPO

    Any help :-?



SHARE:
+ Post New Thread

Similar Threads

  1. Run program as non-administrator
    By ronanian in forum Windows Server 2008
    Replies: 4
    Last Post: 29th March 2010, 06:56 PM
  2. Starting a service... (Messenger)
    By Edu-IT in forum How do you do....it?
    Replies: 51
    Last Post: 9th December 2009, 12:39 PM
  3. [Ubuntu] auto starting lampp service with password
    By ful56_uk in forum *nix
    Replies: 5
    Last Post: 2nd March 2009, 11:50 PM
  4. redirect administrator start menu & desktop
    By rocknrollstar in forum Windows
    Replies: 9
    Last Post: 15th January 2009, 07:34 PM
  5. Allow non-administrator accounts to unlock a pc
    By richard in forum How do you do....it?
    Replies: 17
    Last Post: 11th March 2006, 11:36 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •