I would prefer to get this running directly from CF, simply because it's 
less complicated...

No, CF is not running as System. 

When I try to add /u *localUserName* /p *password* I get this:
ERROR: Invalid syntax. Cannot specify user name without specifying 
system name.

So... when I add /s //*machineName* I get this:
ERROR: C:\WINDOWS\system32\kernel32.dll


Dave Watts wrote:
>> 2) Yes, logging into the physical box with the same account (RDP or
>> since it's my dev server, I can walk over to it.. .:))
>>     
>
> So, CF isn't running as SYSTEM? Just want to confirm that.
>
>   
>> 3) If I run either of these from the command prompt on the server
>> schtasks /create /tn createMovie47 /tr
>> d:\wwwroot\tours\47\youTube\createMovie.bat /sc once /st 18:45 /sd
>> 09/30/2008 /p *accountPassword*
>> or
>> schtasks /create /tn createMovie47 /tr
>> d:\wwwroot\tours\47\youTube\createMovie.bat /sc once /st 18:45 /sd
>> 09/30/2008 /rp *accountPassword*
>>
>> It starts asking me for username then, and when I provide /u *username*
>> or /ru *username* it then asks me for the computer name and when I
>> supply the /s *computerName* it tells me the password is wrong.
>>     
>
> Is the account you're using a domain account? If so, use the domain as a 
> prefix:
>
> /u domain\user
>
> You shouldn't need the /s switch if you're trying to affect the local system.
>
> If I understand the documentation correctly, omitting /ru and /rp
> means the task will run under the SYSTEM user context. The /u and /p
> switches let you control how schtasks writes to the scheduler queue.
> So, you should be able to just specify /u and /p.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313311
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to