Remote Shutdown Several Macs

Here is my situation. I work in a computer lab containing both PC's and Macs, and at the end of the night, I want to be able to send a message to the users on the Macs stating that the computer will be shutting down in 20 minutes, and will automatically reboot, to force them to get off. This is really simple with the Windows computers, using a tool called "psshutdown", and was wondering if there is something similar on the Macs? Basically in windows, i created a batchfile with the commands like this for each computer one after the other.
psshutdown <computer name> -m <comment> -t <time until shutdown> etc etc.
Does anyone have any suggestions for doing this with the macs?
TIA

This can be done with the AppleRemoteDesktop admin app, though you have to pay for it. Alternatively you could ssh into the machine and do something like "sudo shutdown -r +20 message", though this will only print a message to a terminal, not pop up a GUI warning box. There may other options as well. If you manage many mac workstations, the the AppleRemoteDesktop application would be quite helpful. I use it to manage my lab workstations frequently.

Similar Messages

  • How can I remotly shutdown a mac PC using windows

    At my University, there is an iMAC computer LAB. In another LAB, there is a windwos server PC, and I want to remotly shutdown MAC PCs using a command from the windows server, while the windows server and the MAC PCs are connected to the same network.
    Any help regarding this issue?
    Thank you
    Regards

    A few ways, SSH...
    http://www.macworld.com/article/1054317/remoteshut.html
    Got an iPhone?
    http://ishutdownapp.com/
    Or having Screen Sharing enabled on the Macs, also, a free LogMeIn account would do it.

  • Restarting Time Service remotely on several macs

    Hi,
    i am realizing NTP problems with 10.4 and 10.3 which means the clients tend to have another time then provided by the ntp-server.
    For 10.3 this seems to be related with the buggy System-Preferences in general, as opening & closing the lock solves the issue and the clock is synced again.
    Now i am wondering if there is a more advanced method to restart the time-service in 10.3, 10.4 and in best case 10.5 to avoid such problems in the future.
    I could define a launchd agent in each client but it looks like
    SystemStarter -d restart "Network Time"
    does not work on all osx-versions.
    On the other hand i am thinking about implementing an ARD-task.
    So lets do a brain-storming on how to restart the time-service on 10.3 up to 10.5 using a clever solution.
    Any ideas ?
    Best regards
    fidel

    Hi BDAqua,
    well i could check that but somehow i don't think this fix will be a permanent one.
    Basically i guess restarting the service in a loop is the best way to be sure we are in sync.
    Maybe i should just write an applescript/shellscript which checks for the os-version and depending on the reply start a matching command to restart it.
    NTP in general isn't a problem with all
    our Windows & Linux boxes - only the Macs with 10.4 and older cause problems

  • Remote control a Mac server from Windows machines

    I'm running a Mavericks Server that I'd like to get off my desk and put in the data center. However, my primary laptop is a Windows 8.1 laptop that I use to support other things. I'd still like the ability to remote into the Mac Server from my Windows laptop. I know that I can VNC into the server, but it's my understanding that if I have Remote Management turned on, I can't have Screen Sharing (and thus, VNC) turned on. So it seems like my options are to run  another VNC server on a different port or use LogMeIn Ignition. But I'm not sure what other people are using so I'd like your help. Thoughts? Suggestions?
    TIA    

    As you have found via the answer provided by Morgan R, it is possible to configure Remote Management to allow standard VNC clients to connect just like it is possible with Screen Sharing.
    Note: Remote Management does everything Screen Sharing does plug other things. So anything you can do via Screen Sharing you can do via Remote Management.
    However there is a client available for Windows that does support the extended login information used by Remote Management/Screen Sharing, this is 'Remotix' by Nulana.
    See http://www.nulana.com/remotix-windows/
    I have tried it and it does work. I did however find one serious bug which I have reported to them but I don't know if they have fixed it yet.
    Over the years I have found many in fact nearly all software that involves linking Mac and Windows where one controls the other in either direction has suffered an inexcusable bug whereby if you are not using US keyboards at both ends then several keys will not be mapped properly and you can even end up with some keys not usable at all. The most infamous combination is the @ and " keys being swapped.
    All these programs appear to have been written by Americans who are members of the 'flat earth' society and obviously believe that if you leave the shores of the USA you will fall of the edge of the world. I presume they also are avid fans of the Discworld series of books.
    Offenders include Virtual PC, Microsoft Remote Desktop Client 1.0 (for Mac), Timbkutu Pro, Remotix and I am sure many others.
    Note: Microsoft did at least fix theirs several years later with Remote Desktop Client 2.0 (for Mac).
    The one noteable exception is VNC. VNC was originally developed at AT&T Laboratories in Cambridge, England. (Not New England.)
    See http://www.cl.cam.ac.uk/research/dtg/attarchive/vnc/ I am sure if it had been developed in Cambridge, Massachusetts it would have suffered the same problem. Since Screen Sharing on Macs is based on VNC it has never suffered this problem even when controlling a PC via VNC. I am therefore even more shocked that Nulana managed to make this mistake.
    To our dear American friends in the colonies, you might want to read http://uk.ask.com/question/who-discovered-that-the-earth-was-round

  • Is there a usb solution to enable a remote on a Mac Book Pro Retina?

    Is there a usb solution to enable the use of a remote on a Mac Book Pro Retina?

    I use Flip Player
    (free download)
    although there is limited functionality unless you upgrade to the full Pro (or higher)
    Read more: Flip Player for Mac - Free download and software reviews - CNET Download.com http://download.cnet.com/Flip-Player/3000-13632_4-87679.html#ixzz2aWmRVj7i
    http://download.cnet.com/Flip-Player/3000-13632_4-87679.html

  • I have remote locked my mac using find my iPhone app via my iPad - I am unable to enter the unlock code as the mac keyboard won't pair with the mac - I guess that will teach me for playing...any ideas?

    I have remote locked my mac using find my iPhone app via my iPad - I am unable to enter the unlock code as the mac keyboard won't pair with the mac - I guess that will teach me for playing...any ideas?

    Thought so - ace - find my phone really needs an unlock function. - another £40...

  • Is it possible to remotely use my mac mini over the internet?

    Im a PC user thinking about getting a Mac Mini to put in my home office so I can write iPhone apps. I also want to be able to access it from anywhere through my Windows laptop. Is this possible?

    Yes.  You have a number of options.  Google is your friend.  LogMe In, Bomgar, and other remote management tools.  Or, if you want low tech, VPN in to your office and then use a VNC browser to remotely control the Mac.
    There are plenty of options.
    R
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

  • Remote Shutdown problem

    Hi,
    I am trying to shutdown (and restart) a Windows 7 (RC1) PC on my home network from another PC running Windows 7 (RC1). I am running the following command at a command prompt (I have tried with and without Administrator privilege):
    shutdown /r /f /m \\backup
    Originally I was getting "Access Denied" but after searching the internet I disabled file sharing on the remote PC and I now get the following error message:
    "backup: The entered computer name is not valid or remote shutdown is not supported on the target computer. Check the name and then try again or contact your system administrator. (53)"
    I have also tried using the IP address and the result is the same.
    I am using the same user name on both PCs, with the same password and the user is a member of the administrator group on both PCs. I have also checked the following policy settings on the remote PC:
    Local Policies:User Rights Assignment:Access this computer from the network: Administrators...
    Local Policies:User Rights Assignment:Force shutdown from a remote station: Administrators
    Local Policies:User Rights Assignment:Shutdown the system:Administrators
    Local Policies:Security options:Network access: Sharing and security model for local accounts: Classic - local users authenticate as themselves
    Local Policies:Security options:Shutdown:Allow system to be shutdown without having to log on.
    Is there anything else to check?
    Thanks
    Patrick

    I know this is a late response, but when I had the same problem, I discovered that the problem was the firewall setting related to File and Printer Sharing (SMB-IN).  That rule was disabled for the Public profile; I'm not sure what triggers that profile's
    use over the Domain or Private because the machine is on a LAN with the Domain Controller.  When I enabled that rule, I was able to shutdown the servers.  The puzzling thing for me is that the rule seemed to be "disabled" on its own. 
    I distinctly remember shutting down all 6 of my servers.  Then 2 weeks ago, I could only shutdown 5.  This week I could only shutdown 4, so I had to enable this rule on 2 servers, and I don't know what would have caused that setting to be changed. 
    Obviously, if any firewalls change on their own, that would appear to be a large disconcerting bug.
    Just to reiterate, the firewall rule which prevented me from remotely shutdown was the File and Printer Sharing (SMB-IN) Inbound Firewall rule associated with the Public profile.  I enabled it, and I could execute a remote shutdown command.

  • I WOULD LIKE TO BUY AN IPOD TO COLLECT THE PLAYLISTS OF MY FIENDS .FOR THIS I NEED TO CONNECT THE IPOD WITH SEVERAL MACS.IS THIS POSSIBLE ??

    I WOULD LIKE TO BUY AN IPOD TO COLLECT MY FREINDS' PLAYLIST.CAN I CONNECT THE IPOD TO SEVERAL MACS TO TRANSFER THE MUSIC OR ONLY TO ONE AS IT WAS WITH THE FIRST IPOD ??

    yes i cant buy addiction to apps and at first i did but with another account,,,so now i sign in with my original account and cant do that any more,,it pops up a masseges that it says "this item is for an app tha was purchased by a different apple id,to buy this item with this apple id,you most first purshase the app....so i dont understan what i have to do!!!!

  • Using a shared drive over several macs

    I have several macs, with separate user accounts for the family on each.
    I have a central one, a 2010 Mac Mini, that I have an external drive attached to. this is to be used as the main iTunes server for everyone.
    however, even if I make this drive the itunes medial folder on one of the other computers (we have an imac in an outbuilding), whenever this machine is shut down, the path is lost and has to be set up every time the imac is used
    what am I doing wrong?

    it won't work like this.
    if iTunes is launched on one of the client Macs, and the host Mac isn't available, iTunes will default back to the Mac's internal iTunes folder.
    either keep the host Mac running 24/7 or attach the external to your router and let that run all the time.

  • Time Machine - Need central reporting for several macs.

    several mac's on a network all backing up to a network Hard drive, now I need centralized reporting to make everyone happy.

    Install OS X Server and activate the Time Machine service.

  • How do I correct an "undetermined error" when trying to reload Photoshop CS4 remotely on a Mac Air?

    How do I correct an "undetermined error" when trying to reload Photoshop CS4 remotely on a Mac Air?

    Hi dsalacain,
    Are you trying to run the setup from network location. If yes please copy the installation file to the desktop of the Mac and try installing again.
    Regards,
    Romit Sinha

  • How to remotely manage a Mac not on my network?

    I'd like to remotely manage a Mac over the Internet. Specifically my mother's iMac, so when she loses Dock icons or can't find her Address book or something I can fix it from my location in another state. Simple things, but trying to explain it over the phone is generally unsuccessful. We're both running Snow Leopard. I can set things up initially on her Mac in person, and then I need something that requires no effort on her end for this to work. Thanks.

    As Sijmons suggests, TeamViewer.com might be the easiest solution (and is frequently my suggestion).  This is a secure connection.
    Some alternatives.  You get 2 free AOL Instant Messenger (AIM) accounts.  Setup your iChat client with one AIM account, and then setup your Mom's iChat client with the other.  Then you can use iChat Screen Sharing, as long as your Mom is available to approve the Screen Sharing request.  As a bonus, you can text, audio, or video chat with your Mom over iChat.  An Audio chat while using Screen Sharing will allow you to talk her through things while you demonstrate or watch her and provide feedback and corrections.
    LogMeIn.com can be used free for personal use (secure connections used), but it does not provide file transfers (you could use something like Dropbox or insync (from Google) to do file transfers.
    You could setup a Hamachi VPN (virtual private network) between your Mom's and your Mac (Hamachi.com free for personal use).  Once you have Hamachi setup, you could then just use Mac OS X Screen Sharing.  This is a secure connection.
    A more complex approach is setting up your Mom's home router to port forward port 5900 (see portforward.com), then get a free dynamic DNS name from a service such as No-IP.com or DynDNS.org, and run a dynamic DNS updating client available from the service you get the dynamic DNS name from.  Now you can use Finder -> Go -> Connect to server... -> vnc://your.moms.dynamic.dns.name.  And if you also port forward port 548, you can do file sharing via afp://your.moms.dynamic.dns.name (down side is that this approach is not as secure, and it opens well known ports that might be attacked).
    And for the really hardcore, you can port forward port 22 (ssh) and then create secure ssh tunnels that you use for screen and file sharing across the Internet.

  • Microsoft Remote Desktop for Mac and Win 2000 Server

    Hello guys,
    Could you please confirm that the latest version 8.0.15 is compatible with WIN 2000 Server connections? If not, could you please advise which version of Microsoft Remote Desktop for Mac is the match in order to connect to a WIN 2000 server.
    Thank you in advance,
    Bogdan

    Hello Bogdan
    WIN 2000 is supported. See a complete list of supported Windows SKUs here:
    https://technet.microsoft.com/en-us/library/dn473006.aspx
    Go to the AppStore and download Microsoft Remote Desktop.

  • How do you disable remote access for mac routers

    how do you disable remote access for mac routers

    Hi, I'd never buy an Apple router again, but see if reverse thinking works here....
    https://discussions.apple.com/thread/3926392?tstart=0

Maybe you are looking for

  • How can I return to the Snow Leopard version of Quick Look?

    Lion does not allow playing more than one movie clip in succession, using Quick Look. In Snow (and earlier), you can select a bunch of clips, hit the spacebar, and they each play in alpha/numeric order without clicking the arrow button to play the ne

  • Mount USB Device in Single User Mode

    Hi All, Can anyone give me any assistance of mounting a USB stick in single user mode? I am trying to use the command: $ mount -uw /dev/disk2s1 /Volumes/usb But it get the error: --specified device does not match mounted device If I put the USB stick

  • Transfer Idocs from one system to other

    Hi, Please check below scenario regarding Idoc transfer from Source to Receiver system: I have source system SRC and receiver system REC. I want to send Idocs from SRC to REC based on some data checks in REC system. For ex, I am sending Sales order I

  • Illustrator CC crashing with aiHostAdapter with version higher than 16.9

    I am trying to export a zxp from Flash Builder with CS Exstension Builder 2. <products>   <product familyname="Illustrator" primary="true" version="16.0"/>   <product familyname="Illustrator" maxversion="15.1" primary="true" version="15.0"/>   </prod

  • Updater5, how to turn off PERMANENTLY??

    OK, so Adobe can't design an Enterprise solution to save their lives, we know that. We also know that their Band-aids® are usually filled with mistakes that we have to figure out how to work around their work-arounds. They offer a way to suppress upd