Schedule Task Security in Windows Server 2003

From: cct (peoplecosoftware_at_newsgroup.nospam)
Date: 06/24/05

  • Next message: [MSFT]: "RE: Schedule Task Security in Windows Server 2003"
    Date: Fri, 24 Jun 2005 15:09:11 +0800
    
    

    Dear all,

    I am confuse with ASP.net security in related to Windows Scheduler.

    My server setting:-
    Windows Server 2003 + SP1
    dotnet framework 1.1 + SP1

    web.config:-
    <authentication mode="Windows" />
    <identity impersonate="true" />

    IIS Authentication Method:-
    Integrated Windows Authentication (ONLY!)

    My sample code:-

    ProcessStartInfo psi = new ProcessStartInfo();

    psi.FileName = "schtasks.exe";
    psi.Arguments =@" /query /fo csv /nh /v";
    psi.UseShellExecute = false;
    psi.WindowStyle=ProcessWindowStyle.Hidden;
    psi.RedirectStandardOutput = true;

    Process process = Process.Start(psi);
    string szScheduleList = process.StandardOutput.ReadToEnd();
    process.Close();

    Where szScheduleList return empty. (Login as local administrator or
    Environment.UserName=Administrator)
    But the same code is running fine in Windows XP+SP2 environment.

    Any help is highly appreciated.
    Thanks.


  • Next message: [MSFT]: "RE: Schedule Task Security in Windows Server 2003"

    Relevant Pages

    • Re: Updates if no internet connection
      ... Description of the System Update Readiness Tool for Windows Vista ... There are 3 prerequisites updates that are required before instaling the SP1 package that is available from Windows Update. ... I still can't work out if I need to install the three pre-SP1 updates even if I am using the standalone version of SP1. ...
      (microsoft.public.windowsupdate)
    • Re: Fax Services
      ... it is not recommended that we apply only Windows 2003 SP1 to ... Windows Server 2003 SP1 ... You can download Windows Small Business Server 2003 Standard Edition from ... When opening a new thread via the web interface, we recommend you check the ...
      (microsoft.public.windows.server.sbs)
    • Re: Vista SP1
      ... Unlimited installation and compatibility support for Vista SP1 is available ... Vista | select Windows Vista Service Pack 1 ... MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002 ... Microsoft using the link above that you have indeed checked those things ...
      (microsoft.public.windowsupdate)
    • Re: XP Pro (Gold?) and SP3
      ... The semantics is that it is possible to install sp3 on a system with sp1 or sp2; ... Windows XP SP3 will be available through Windows Update and the Microsoft ...
      (microsoft.public.windowsxp.general)
    • Re: Win 2003 SP1 failed
      ... I will try installing the SP1 when logged under ... then apply other service packs. ... > A. Windows Server 2003 SP1 ... > G. SBS 2003 SP1 ...
      (microsoft.public.windows.server.sbs)