Networking Forums

Networking Forums > Computer Networking > Windows Networking > Running Schedule Tasks Remotely

Reply
Thread Tools Display Modes

Running Schedule Tasks Remotely

 
 
The Poster
Guest
Posts: n/a

 
      02-16-2005, 01:21 PM
G/day forum,

I've got multiple schedule tasks running on a Windows Server 2003 Standard
Edition server (called Server1), all running under least privileged user
accounts, on an unscheduled basis (ran when required).

Is there a way in which I can remotely run these tasks from my domain based
workstations, using a least privileged user account, as I need them without
having to log on to that server and locally running the tasks?

Any tips or ideas would be greatly appreciated.

Regards,
Steve.


 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a

 
      02-16-2005, 01:35 PM
This may help.

http://www.sysinternals.com/ntw2k/freeware/psexec.shtml

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"The Poster" wrote:
| G/day forum,
|
| I've got multiple schedule tasks running on a Windows Server 2003 Standard
| Edition server (called Server1), all running under least privileged user
| accounts, on an unscheduled basis (ran when required).
|
| Is there a way in which I can remotely run these tasks from my domain
based
| workstations, using a least privileged user account, as I need them
without
| having to log on to that server and locally running the tasks?
|
| Any tips or ideas would be greatly appreciated.
|
| Regards,
| Steve.
|
|


 
Reply With Quote
 
The Poster
Guest
Posts: n/a

 
      02-17-2005, 08:03 AM
WOW - well done Mark Russinovich...... I will never use Remote Desktop
again.

Its not a tool for the careless admin eh?

"Dave Patrick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This may help.
>
> http://www.sysinternals.com/ntw2k/freeware/psexec.shtml
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "The Poster" wrote:
> | G/day forum,
> |
> | I've got multiple schedule tasks running on a Windows Server 2003

Standard
> | Edition server (called Server1), all running under least privileged user
> | accounts, on an unscheduled basis (ran when required).
> |
> | Is there a way in which I can remotely run these tasks from my domain
> based
> | workstations, using a least privileged user account, as I need them
> without
> | having to log on to that server and locally running the tasks?
> |
> | Any tips or ideas would be greatly appreciated.
> |
> | Regards,
> | Steve.
> |
> |
>
>



 
Reply With Quote
 
The Poster
Guest
Posts: n/a

 
      02-17-2005, 10:53 AM
One question guys.......

If I use this psexec utility (psexec \\Server1 Schtasks /Run /TN
"TransferFile") to run this "TransferFile" task on my W2k3 server from a
user profile that doesn't have Admin priviledges I get a failure.

How do I work around this "Access Denied" without giving this standard user
Admin Priviledges on my Server? What ACLS dp I need to modify?

Steve.

"Dave Patrick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This may help.
>
> http://www.sysinternals.com/ntw2k/freeware/psexec.shtml
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "The Poster" wrote:
> | G/day forum,
> |
> | I've got multiple schedule tasks running on a Windows Server 2003

Standard
> | Edition server (called Server1), all running under least privileged user
> | accounts, on an unscheduled basis (ran when required).
> |
> | Is there a way in which I can remotely run these tasks from my domain
> based
> | workstations, using a least privileged user account, as I need them
> without
> | having to log on to that server and locally running the tasks?
> |
> | Any tips or ideas would be greatly appreciated.
> |
> | Regards,
> | Steve.
> |
> |
>
>



 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a

 
      02-17-2005, 01:17 PM
Why are you using Schtasks? You can just pass the credentials with the -u -p
switches running the program directly.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"The Poster" wrote:
| One question guys.......
|
| If I use this psexec utility (psexec \\Server1 Schtasks /Run /TN
| "TransferFile") to run this "TransferFile" task on my W2k3 server from a
| user profile that doesn't have Admin priviledges I get a failure.
|
| How do I work around this "Access Denied" without giving this standard
user
| Admin Priviledges on my Server? What ACLS dp I need to modify?
|
| Steve.


 
Reply With Quote
 
The Poster
Guest
Posts: n/a

 
      02-17-2005, 01:33 PM
Say I've gotta "FileTransfer.wsf" file located in directory C:\Program
Files\MyScripts\FileTransfer on Server1 - on this server the task file
relevant to this job works fine with the user assigned 'Log on as Service"
rights.

When I pass these instructions:

PSEXEC \\Server1 -u (E-Mail Removed)l -p password C:\Program
Files\MyScripts\FileTransfer\FileTransfer.wsf

I get:
Couldn't access SERVER1.
Access is denied.

Strange?

"Dave Patrick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Why are you using Schtasks? You can just pass the credentials with

the -u -p
> switches running the program directly.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "The Poster" wrote:
> | One question guys.......
> |
> | If I use this psexec utility (psexec \\Server1 Schtasks /Run /TN
> | "TransferFile") to run this "TransferFile" task on my W2k3 server from a
> | user profile that doesn't have Admin priviledges I get a failure.
> |
> | How do I work around this "Access Denied" without giving this standard
> user
> | Admin Priviledges on my Server? What ACLS dp I need to modify?
> |
> | Steve.
>
>



 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a

 
      02-17-2005, 01:50 PM
You might need to quote the path since it contains a space.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"The Poster" wrote:
| Say I've gotta "FileTransfer.wsf" file located in directory C:\Program
| Files\MyScripts\FileTransfer on Server1 - on this server the task file
| relevant to this job works fine with the user assigned 'Log on as Service"
| rights.
|
| When I pass these instructions:
|
| PSEXEC \\Server1 -u (E-Mail Removed)l -p password C:\Program
| Files\MyScripts\FileTransfer\FileTransfer.wsf
|
| I get:
| Couldn't access SERVER1.
| Access is denied.
|
| Strange?


 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a

 
      02-17-2005, 01:53 PM
This may also help.

http://www.winnetmag.com/Windows/Art...919/42919.html

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


 
Reply With Quote
 
The Poster
Guest
Posts: n/a

 
      02-17-2005, 01:56 PM
Same thing Dave..... am i missing a switch of some form? Would i need to
modifiy NTFS permissions?

Steve.

"Dave Patrick" <(E-Mail Removed)> wrote in message
news:e%23kS6$(E-Mail Removed)...
> You might need to quote the path since it contains a space.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "The Poster" wrote:
> | Say I've gotta "FileTransfer.wsf" file located in directory C:\Program
> | Files\MyScripts\FileTransfer on Server1 - on this server the task file
> | relevant to this job works fine with the user assigned 'Log on as

Service"
> | rights.
> |
> | When I pass these instructions:
> |
> | PSEXEC \\Server1 -u (E-Mail Removed)l -p password C:\Program
> | Files\MyScripts\FileTransfer\FileTransfer.wsf
> |
> | I get:
> | Couldn't access SERVER1.
> | Access is denied.
> |
> | Strange?
>
>



 
Reply With Quote
 
The Poster
Guest
Posts: n/a

 
      02-17-2005, 01:56 PM
Same thing Dave..... am i missing a switch of some form? Would i need to
modifiy NTFS permissions?

Steve.

"Dave Patrick" <(E-Mail Removed)> wrote in message
news:e%23kS6$(E-Mail Removed)...
> You might need to quote the path since it contains a space.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "The Poster" wrote:
> | Say I've gotta "FileTransfer.wsf" file located in directory C:\Program
> | Files\MyScripts\FileTransfer on Server1 - on this server the task file
> | relevant to this job works fine with the user assigned 'Log on as

Service"
> | rights.
> |
> | When I pass these instructions:
> |
> | PSEXEC \\Server1 -u (E-Mail Removed)l -p password C:\Program
> | Files\MyScripts\FileTransfer\FileTransfer.wsf
> |
> | I get:
> | Couldn't access SERVER1.
> | Access is denied.
> |
> | Strange?
>
>




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reversing tasks JimL Wireless Networks 6 12-22-2009 03:19 PM
Windows 2003 Schedule Tasks DUHAAS Windows Networking 0 04-03-2008 01:49 PM
Losing connection when doing certain tasks with belkin router, wireless & sbc dsl ptbus0 Wireless Internet 0 10-15-2007 07:11 PM
Wireless network set up not showing in Networking Tasks fbcmusicmark Wireless Networks 0 10-17-2006 08:43 PM
Scheduled Tasks Crash Windows Networking 0 12-17-2003 07:48 PM



1 2 3 4 5 6 7 8 9 10 11