So you want to control your Mac from your PC

I am not a Mac user and I love my Microsoft Ergonomic keyboard and all my monitors. But if you are going to develop for iOS you have to have a Mac in your life.  However, you do not have to touch it!  First, we will configure the Mac then we will download the software we need to use to connect to it.

I will be configuring a virgin MacBook with the following specs:

SNAGHTML5b962cb

I will assume at this point you are on the Mac using the Mac keyboard. The first thing we have to do is enable Remote Management of the Mac.

  1. Press Command (⌘) - Space to open Spotlight Search
    image
  2. Type Sharing
  3. Press Enter
    image
  4. Check Remote Management
    If Options dialog is not shown, click Options...
    image
  5. Check at least Observe / Control
    It is safe to check them all, especially if you are going to need to reboot your Mac.
  6. Click OK
  7. Take note of the IP address
    image
  8. Select System Preferences / Quit System Preferences

When we connect to the Mac, we are going to need your username which is not always the same as your full name.  To determine your username, we are going to use the whoami command.

  1. Press Command (⌘) - Space to open Spotlight Search
  2. Type Terminal
    image
  3. Press Enter
  4. Type whoami
  5. Press Enter
  6. Take note of the value displayed
    image

You may have noticed the terminal prompt also showed your username before you typed the command. Your username is also the name of your home folder. I just like using whoami to be 100% sure.

Now we can move over to your Windows machine. We are going to use Real VNC viewer which you can download for free from here. There is no installation required, just download and save the file.

  1. Start VNC Viewer
  2. Enter IP address
    image
  3. Click Connect
  4. Enter your Username not your full name
  5. Enter Password
  6. Click OK
    image

You are now connected to your Mac from your Windows machine.  To activate the Spotlight Search, you have to replace the Command (⌘) key with the Alt key on your Windows keyboard.  Now you never have to touch that thing again! Smile

Comments (5) -

  • jacob

    4/12/2020 8:52:39 PM | Reply

    Do you need to be on the same wifi network for this to work? and if so, how can I control my mac, from a distance, i.e: not on the same wifi network?

    • Joss Edwards

      12/29/2020 10:21:24 PM | Reply

      Hi Jacob, did you ever find an answer for this? Struggling with the same issue.

    • Marc Brooks

      7/13/2021 3:54:18 AM | Reply

      You don't have to be on the same network, but the mac needs to be exposed to the public internet on the VNC ports. Would setup your internet router to port-forward 5900 to the mac's private IP. See https://bobcares.com/blog/vnc-ports-to-open/

  • Holo

    4/1/2021 9:52:08 AM | Reply

    Thanks

  • Zolvoski

    4/13/2021 5:29:01 AM | Reply

    Hey, in addition to above, you can control your MAC computer from PC using tools like logmein, R-HUB remote support servers etc. These are easy to use and work well.

Pingbacks and trackbacks (2)+

Add comment

Loading