You must Sign In to post a response.
  • Category: ASP.NET

    Restart Client Machine using Asp.net

    Hi Friends,

    I want to restart my client machine using ip address in ASP.net application. How can i do it
  • #748343
    Hi,

    I don't think we can able restart the Client System using in ASP.Net. I know We can able to restart the client system in Windows application.

    If it is possible let me know.

    In Which scenario, you are using restart the Client System using in ASP.Net.

    Thanks and Regards
    S.Suresh

    "IF YOU WANT TO SHINE LIKE A SUN FIRST YOU HAVE BURN LIKE IT".

  • #748352
    check below 2 blogs.. I think will help you

    http://www.c-sharpcorner.com/UploadFile/yuanwang200409/RemoteRestartWindows09252006141003PM/RemoteRestartWindows.aspx

    http://forums.asp.net/t/1776692.aspx?Remote+system+Shut+down+Restart

    Cheers

    Kush

  • #748362
    Hi,

    Please go through the below link, you will get an idea how to restart the system using asp.net-

    http://stackoverflow.com/questions/20307585/restart-windows-from-asp-net-page-using-command-prompt-and-system-diagnostics-pr

    And if you are trying to shut down using msdos, using ip, just a single line-

    shutdown -s -t 0 -m \\192.168.0.117*

    Thanks,
    Ashutosh Jha
    http://tricksroad.com

  • #748380
    Client machine is always a remote for asp.net server.
    I don't think it will be so easy, there may exist some Acess permission related problem and you should need some admin rights to control remote machine using asp.net

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #748412
    try process the start as



    private void btnResett_Click(object sender, EventArgs e)
    {

    string hostName = textHostName.Text.Trim();
    Process.Start("shutdown", "-r -f -m \\\\\"+ hostname);

    }

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM

  • #748468
    Hi All,

    My client will be doing some process at their end... in mean time the system should not shutdown or logoff or restart. If any thing happen then the SMS should be reach us (India). So that immediately we will alert our client.

    Client will be going to work with (unknown) software with many user login (approximate 15 systems). Client can use per login once a time. Once the process complete, they need to restart the system (we are doing it from our end, when client is not available).

    If this possible in windows application means please guide me.

    -----------------------------------------------------------------------------
    Regards,
    Gopi A.
    +91 9894315571
    Skype:gopi.net
    http://asaigopi-dotnet.blogspot.in/

  • #748470
    And onemore thing... Our client provided access permission to their systems.
    -----------------------------------------------------------------------------
    Regards,
    Gopi A.
    +91 9894315571
    Skype:gopi.net
    http://asaigopi-dotnet.blogspot.in/


  • Sign In to post your comments