Turning off a remote PC with LV

HI,
I want to know if anyone knows if it is possible to turn off a remote PC with a LV program. We have one PC supervision that stays always on and 2 other PCs that are on the same network. The other PCs do not have KVM and we need to turn them off once in a while within our application. Right now when we want to turn them off we have to remote desktop and turn them off, not possible when the application is running.
Thanks

you can use the computer name in the shutdown command
C:\>shutdown
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c
omment"] [-d up:xx:yy]
        No args                 Display this message (same as -?)
        -i                      Display GUI interface, must be the first option
        -l                      Log off (cannot be used with -m option)
        -s                      Shutdown the computer
        -r                      Shutdown and restart the computer
        -a                      Abort a system shutdown
        -m \\computername       Remote computer to shutdown/restart/abort
        -t xx                   Set timeout for shutdown to xx seconds
        -c "comment"            Shutdown comment (maximum of 127 characters)
        -f                      Forces running applications to close without warning
        -d [u][p]:xx:yy         The reason code for the shutdown
                                u is the user code
                                p is a planned shutdown code
                                xx is the major reason code (positive integer less than 256)
                                yy is the minor reason code (positive integer less than 65536)
- James
Using LV 2012 on Windows 7 64 bit

Similar Messages

  • Turn off apple remote control from my macbook pro

    How can I turn off my remote control from remoting both apple tv and myc macbook pro at same time. I just want to remote my apple tv.

    Welcome to the Apple Support Communities
    If you want, you can disable the IR port in order to be able to stop control your computer with the Apple Remote. To do it, open System Preferences > Security & Privacy > General > Advanced, and mark "Disable remote control infrared receiver"

  • How do I turn off "your recent download with your apple id" emails? Annoyingly often and they fill up my inbox.

    How do I turn off "your recent download with your apple id" emails? Annoyingly often and they fill up my inbox.  Is there a way to unsubscribe from these?

    It is in Settings>iTunes & App Stores to change automatic downloads. But it isn't your device that needs to be changed if you are the one that made the download. He needs to turn off the setting for automatic downloads on his phone. I'm guessing here, but you are all sharing the same Apple ID?

  • Turn off display in XP with bootcamp

    in XP , the energy savings function wont work, its impossible to turn off the screen even via screensaver.
    is this problem known??
    is there a way to do it anyway???
    thanks

    Just an idea for you. There is an entire Apple Discussion forum dedicated to Boot Camp and Windows XP.
    Whereas, not everyone here with an Intel iMac has installed, tried to install or has experience with BC & XP, everyone there has or at least has an interest. You may attract help more quickly there.
    The Forum is at the bottom of the main Apple Discussions page under Windows Compatible Technology.
    Here is a link;
    Forum: Boot Camp Public Beta

  • How to turn off imessages remotely?

    The battery died on my 3g iphone and i had an android now. I cannot receive messages on my new phone and i cannot use my iphone. How can i turn off the imessages remotely? I visited the support website to unregister the device but i do not have any product registered there.

    Contact apple https://expresslane.apple.com/Issues.action

  • Cannot turn off infrared remote

    I wish to turn off infrared reception. The "Help" instructions are as follows:
    Open the General pane of Security & Privacy preferences
    Click the lock icon to unlock it, then type an administrator name and password.
    Click Advanced.
    Select “Disable remote control infrared receiver” to turn off IR reception, or deselect it to turn on IR reception.
    But when I follow the instructions and go to "Advanced" this is what appears:
    There is no “Disable remote control infrared receiver” to select.
    How then can I disable the IR?

    Your Mac may not support IR ...
    If it did, you would see:
    Disable remote control infrared receiver ..

  • My itouch will not turn off and is stuck with the apple symbol as if it is downloading an update.

    My itouch is stuck with the apple symbol as if it was downloading something.  I have tried to reset it by turning it off but it will not turn off.  Any suggestions?

    Hi,
    Try placing your iPod in Recovery Mode and restoring it via iTunes:  http://support.apple.com/kb/HT1808. 
    Hope this helps! 
    ---likeabird---

  • It's been power cycling (turns off while in use) with increasing frequency, and now won't even turn on. What gives?

    My phone has been turning off while in use, and would, in the past, recover if I turned it off and on.
    Now it won't do anything, and I know that the battery is not dead. What gives?

    Hello Hoges,
    About your question of connecting the Elitepad directly to another PC via USB.
    Since the tablet is considered a full windows PC, you cannot connect it directly to another PC via USB.
    Androids and Apple iphones, etc etc. are different than a windows PC. Even if you used an OTG usb cable.
     Windows PC's could be connected via a crossover cable but it is very particular and requires an ethernet port on both machines.
    You can connect them via a Network though, like connecting via a Home Group through a wireless connection.
    Better still, you can backup your files on a cloud service like Dropbox, Onedrive or Google and then download them to the other machine. If both machines are using Windows 8.1, you can use HP Connect to backup and transfer files.
    If you have a usb to micro usb adapter, you can use a pen drive to tranfer files with.
    I do not know anything about the magazine articles you are downloading, but if done so via an app in the Windows store, couldnt those be redownloaded anyway without transfering?
    IF the tablet is still under warranty and the charging port is loose, you can contact HP Support to see what your options are.
    Hope it helps.

  • IPhone 3G turns off every few minutes with new OS

    Greetings all,
    Apologies for not introducing myself in advance but I just want to get this issue fixed. I upgraded my iPhone to OS 4 and now the main issue is that when it is not plugged in it will just turn off after a few minutes of being idle. If I actually use it (i.e. keep the screen on) it won't turn off - its only a minute or two after the screen turns off that the iPhone actually turns off. I suspect this is a crash because I have to hold down the Power Button and Home Button in order to get it working again.
    However, if its plugged in it won't turn off! How useful! I've read over some topics (and still am reading them, thanks for all the help) but I'm not getting anywhere. I've deleted the ipsw file and re-downloaded it to no avail and am considering trying a new user account on Windows 7.
    Are other people having this issue? I was going to upgrade to the newest iPhone and give this to my little sister, but I don't think I'll upgrade now. She's rather upset about this.
    Thanks,
    Discopanda.

    Make a backup, if possible.  Restore it as new, if possible.  If issue persists, or you are unable to do either of those previous steps, consult Apple.

  • Turned off automatic layer masks with adjustment layers - want them back

    I somehow turned off the option that creates a layer mask automatically when creating a new adjustment layer.  I need that feature back, but I cannot locate it anywhere in photoshop or on google.  Does anyone know how to reset that option?  I am using CS5.  Thanks! 

    Thanks. That is what I have been tying to find, but I am afraid I need a little more guidance.  I am in the layers panel and clicked on the arrow to the right and I have no options to select this.  Here is what I am looking at:
    Then when I select panel options I get this - not what I am looking to fix:

  • Turning off clicking the trackpad with finger! Cant find it anywhere

    Hi,
    I am just trying to turn off the feature where tapping the trackpad/ultranav acts as a mouse click, i find it really annoying as I always end up clicking the wrong thing!
    I have been through all the options in mouse settings and ultranav....does anybody know where I can do this?
    Cheers
    Solved!
    Go to Solution.

    In Ultranav there is an "Enable Tapping" option. Disable it and you're done.
    Nap.

  • Turn off an iPod configured with Apple Configurator and in supervise mode locked to one application.

    I have configured an iPod touch using the Apple configurator. The iPod is set in supervisor mode and I have configured it to start one of our own apps. It works ok. But I can't turn off the iPod holding the on/off button as usual. I dont get the turn off slider. I can only turn the display off by clicking on the on/off button.
    I want to be able to turn it off completely to save battery.
    /Per

    I wouldn't suggest going to get it yourself. You could find yourself in a situation you cannot get out of and could get hurt. Second, as stated before, it is more for misplaced or lost devices, not stolen devices. Many police agencies do not feel they have probable cause, just from your statement on a map location to justify attempts to recover the device. There have been many posts from others who have had devices stolen where the police will not confront someone based on that map location. I understand you are impacted by the theft, but this is what we have insurance for. To protect your content, from now on I suggest you put a passcode on the device. I hope you have changed all of the passwords for accounts you had on the device, since all of your content and data was accessible to the thief.

  • Can i turn off any remote control or lock the Apple TV for use with AirPlay only?

    I am using multiple Apple TV's in a business environment within one network. It all works fine except the fact that people with a remote control or remote app can configure them, which is unwanted. Is there any way to lock the Apple TV so it cannot be used by any remote feature anymore? Or is there another suggestion that might solve my issue?

    Block the IR receiver to stop physical remotes from working.
    Use an Apple ID that no one else has for enabling Home Sharing, or don't enable it.
    The Remote app requires Home Sharing be enabled on the ATV and that the ATV and iOS device use the same Apple ID.

  • I can't turn off "share crash data with app developers"

    I enabled this feature accidentally during the onboarding process for my new Macbook Pro, and now I can't turn it off as the button is greyed out.

    The feature is located in in System Preferences > Security & Privacy > Privacy.

    Any suggestions for how to do this?

    cezinho,
    Click on "Send diagnostics & usage data to Apple."
    That will enable you to change "Share crash data with app developers."

  • Can't turn off WiFi Power Management with iwconfig

    I had an issue with my WiFi connection dropping occasionally, and I found that my situation was the same as described in this part of the Wicd wiki article: <https://wiki.archlinux.org/index.php/Wi … connecting>, so I used iwconfig to turn power management off, like it said. But, the disconnecting issue is still there. I think power management is still on, because of this:
    [<...>]$ cat "/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlan0/power/control"
    auto
    [<...>]$ cat "/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlan0/device/power/control"
    on
    Yet, iwconfig still shows that power management is off:
    [<...>]$ iwconfig wlan0
    wlan0 IEEE 802.11bgn ESSID:"<...>"
    Mode:Managed Frequency:2.437 GHz Access Point: 00:21:A0:F9:FD:C3
    Bit Rate=54 Mb/s Tx-Power=15 dBm
    Retry long limit:7 RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality=48/70 Signal level=-62 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:2 Invalid misc:239 Missed beacon:0
    Info
    Using Wicd for network management
    Wireless card: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
    Using systemd
    [<...>]$ systemctl | grep net
    sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-net-wlan0.device loaded active plugged AR9485 Wireless Network Adapter
    sys-subsystem-net-devices-wlan0.device loaded active plugged AR9485 Wireless Network Adapter
    wicd.service loaded active running Wicd a wireless and wired network manager for Linux
    network.target loaded active active Network
    Last edited by thorion (2012-11-02 19:42:57)

    Haven't had this problem since I switched to NetworkManager, even with power management on...

Maybe you are looking for

  • Missing Audio Driver in Windows 8.1 64 bit

    I have a HP Pavilion m7750n that originally was installed with Windows Vista. It's had it's hard drive replaced many times over the years, and now it's running on Windows 8.1 64 bit. The problem is: the audio driver went missing somehow I can't find

  • How to install OID client /ODM only

    hi! i've the 9iAS R2 Enterprise disks. in it i can select infrastructure, application server and development kits to install. how can i just install just the ODM - the interface to manage user ids/account polices etc in OID? thx.

  • F.01 Financial Statement report -reconcilation of Stock account

    Hello, In the Financial statement through Tcode F.01 for FY-2010 showing Account i.e. 3xxxxxx Stock Account, showing some Value. I want to see details of G/L account Value, from which transactions Values are are flowing in 3xxxxxx Stock Account. Spec

  • Refresh view , change drop down values dynamically!!

    Hello SDN, I have a requirment in PCUI, I have two drop down fields at the view, values for which are all pre-determined as when the application view is loaded. My need is if i select a value in field 1( from the drop down list) the values should cha

  • I want to love my Droid .....  but.....

    I so want to love my "new" Droid.  I recently purchased it from a third party and have been trying to use it now for about a week.  When it works, I'm in love with it.  When it doesn't, I want to throw it against something really, really HARD! I supp