GuideWindows · From PowerShell
Set up Naytto on a Windows PC from PowerShell
For a Windows PC you set up from PowerShell, at the PC itself or over SSH. One command installs Naytto as a Windows service, so you can reach the PC even at its sign-in screen. You answer Windows’ administrator prompt, approve the PC in a browser, type yes in PowerShell, then connect from a browser on another device. It takes about 10 minutes.
Before you start
- A PC with Windows 10 (version 1809 or later) or Windows 11, on x64. Naytto for Windows is an early release.
- A Windows user that’s an administrator on the PC, or an administrator’s password. Installing asks Windows for administrator approval so Naytto can start with the PC and show its sign-in screen.
- PowerShell on the PC: at the PC itself, or over SSH as an administrator.
- Your Windows password, to sign in through a session when the PC is locked.
- An email address. If you don’t have a Naytto account yet, your first sign-in creates one and starts your free 14-day trial.
- A passkey or an authenticator app for your account. If you have neither, your browser offers to save a passkey when you approve the PC.
- Another device with a browser, such as a laptop, tablet or phone, to approve the PC and to connect from.
The same command is on the download page. Sitting at the PC and rather not use PowerShell? Follow Set up Naytto on a Windows PC instead. Only the PowerShell install reaches the Windows sign-in screen.
Install Naytto
One command downloads Naytto, installs it with Windows’ approval, then starts adding the PC to your account.
01Open PowerShell
Select Start, type powershell and choose Windows PowerShell. Open is enough: the installer asks Windows for administrator approval itself. On Windows 11 it opens in a Windows Terminal window, at a prompt such as PS C:\WINDOWS\system32>.
Over SSH? Connect to the PC as a Windows user that’s an administrator and run the next step in that session. There’s no administrator prompt or second window over SSH: the install and its questions all appear in your SSH session.
02Run the install command
Paste this line and press Enter:
irm https://naytto.com/install.ps1 | iex
03Choose Yes at the administrator prompt
Within a few seconds the screen dims and Windows asks Do you want to allow this app to make changes to your device? It names Windows PowerShell, from Microsoft Windows, because the installer opens a second PowerShell as administrator. No is selected, so click Yes rather than pressing Enter. If your Windows user isn’t an administrator, Windows asks for an administrator’s password instead.
04Let the install window finish
A blue window titled Administrator: Windows PowerShell opens over the first one and prints:
Downloading https://download.naytto.com/windows/production/naytto-windows-x64.zip
It installs Naytto and closes by itself. Leave both windows alone until it does.
Add it to your account
The installer carries straight on: you approve a code in a browser, then allow your account in PowerShell.
05Open the address it shows
Back in your first PowerShell window, Naytto says it’s installed and that the naytto command now works in this window too, then shows an address and a code, and waits:
Installed Naytto. The naytto command works in this window and in new ones. On any device signed in to Naytto, open: https://app.naytto.com/device?user_code=BKBYM3RV and approve code BKBY-M3RV. Only approve a code you started yourself. Press Enter to open the link in your browser. Waiting for approval… (Ctrl+C cancels)
Press Enter to open the address in the PC’s browser, or type it into a browser on any device, such as your phone. Over SSH, the line under the code says to ⌘-click or Ctrl-click the link instead, which opens it on the computer you’re typing on. Leave PowerShell open while it waits; the code works for 10 minutes.
06Sign in with your email
If that browser isn’t signed in to Naytto, it asks you to. Type your email address and choose Email me a code. The button reads Checking this browser… for a moment first; if a Verify you are human box appears, tick it. New to Naytto? The same code creates your account and starts your free 14-day trial. A browser that’s already signed in goes straight to step 08.
07Enter the code from the email
Naytto emails you a six-digit code; the subject line starts with it. Type it in Sign-in code and choose Sign in. The code expires in 10 minutes. If you don’t see the email, check your spam folder.
08Check the code and add the PC
The page asks Add this computer? and names the PC, here OFFICE-PC. Check that its code matches the one in PowerShell, then choose Add computer. Only approve a code you started yourself.
09Confirm it’s you
Unless you signed in with your passkey or authenticator app in the last 10 minutes, the page then asks you to confirm it’s you. Choose Add a passkey to confirm: your browser asks to save a passkey, then to use it. Accept both, and the page says Computer added.
Already have a passkey? The button reads Confirm with your passkey, and your browser only asks you to use it. With an authenticator app, you can choose Sign in again with your authenticator app instead.
10Type yes in PowerShell
Back in PowerShell, Naytto says who approved the PC and asks Allow this account to control this computer? Check that the email address is yours, then type yes and press Enter. For a new account, Naytto waits a few seconds before it asks, so you read the warning.
Allow? Type yes, no, or report: yes Added. OFFICE-PC is now reachable from https://app.naytto.com while Naytto is running.
The prompt comes back, and the installer starts Naytto’s icon by the clock.
Only add your own PC. If the email address isn’t yours, or someone called, texted or messaged you and asked you to install Naytto, it’s a scam: type no, or report to have Naytto review the account.
11Check its status
Run this whenever you want to know how Naytto is doing:
naytto status
Computer OFFICE-PC Account sam.rivera@example.com Status Reachable from your browser Desktop windows (DXGI Desktop Duplication) Keep reachable Off Open at login On Version 0.1.0-472
Status says whether browsers can reach the PC, and Version which Naytto you have. Open at login is always On here: Naytto’s service starts with the PC by itself. Desktop names how Naytto reads the screen; there’s nothing to set there.
Connect from your browser
From here on, all you need is a browser.
12Choose Connect
On another device, sign in at app.naytto.com, or choose Go to your computers on the page you’re on. Your computers lists the PC as Available: Naytto is open on it and answering. Choose Connect.
13Use its desktop
The PC’s screen fills the tab, and you use it with your own keyboard and pointer; hold Esc to take them back. Here the PC shows PowerShell, where naytto status says who is viewing and controlling it. The pill at the top of the tab shows the round trip, 44 ms here; select it for the session controls, including Disconnect.
14Test the connection
In your computers, select the PC and choose Test connection, then Start test. A short session checks sign-in, the private relay, the screen and the keyboard and mouse, then ends; nothing is typed or clicked, though the PC shows the session while it runs. The Clipboard and File transfer checks are optional. After a few seconds it says Ready to connect from another browser, with a check beside each of its five lines.
15Connect from your phone
The same page works on a phone or tablet: sign in at app.naytto.com and choose Connect.
16Connect at the sign-in screen
Naytto runs before anyone signs in, so you can connect while the PC is locked or at the Windows sign-in screen. Connect as usual: the tab shows Windows’ sign-in screen. At the top of the PC’s own screen, Naytto shows Naytto active with a Disconnect button, so anyone at the PC can see the session and end it.
Type your Windows password in the session and press Enter. Each character can take about a second to appear on the sign-in screen. Don’t retype: they arrive in order, and an Enter you already pressed applies after them. The same session carries on at your desktop. Clipboard and file transfer work there, on your own unlocked desktop, but not on the sign-in screen.
Every day
Naytto runs as a Windows service that starts with the PC, so closing PowerShell doesn’t stop it. Its icon by the clock can pause or resume remote access, disconnect a browser and open Naytto in your browser; everything else is a naytto command in PowerShell on the PC.
17Pause remote access
naytto pause
It prints the status, now Paused: browsers can't connect. In your computers, the PC shows Remote access paused with no Connect button. Only someone on the PC, at it or over SSH, can pause or resume. To let browsers connect again:
naytto resume
The status goes back to Reachable from your browser.
18End a session from the PC
While a browser is connected, naytto status says who, and roughly where from: sam.rivera@example.com is viewing and controlling this computer from a browser. Location: United States. To end that session:
naytto disconnect
It prints the status, back to Reachable from your browser. The browser says Ended on the computer, with Reconnect and Back to your computers.
19Keep the PC reachable
A PC that’s asleep can’t be reached. To keep it from sleeping while Naytto runs:
naytto keep-reachable on
The status then reads Keep reachable On, with no administrator prompt. naytto keep-reachable off lets the PC sleep as usual again.
20See every command
naytto help
It lists each command with a line on what it does. Among them, naytto remove takes the PC off your account from the PC itself. Leave open-at-login alone: Naytto’s service always starts with the PC, and naytto pause is how to stop browsers connecting.
21Update Naytto
To update, run the install command again:
irm https://naytto.com/install.ps1 | iex
Windows asks for administrator approval again: choose Yes. The blue window downloads Naytto, replaces it and closes, and your first window says:
Installed Naytto. The naytto command works in this window and in new ones. This computer is already added to sam.rivera@example.com.
There’s no code this time: the PC stays on your account and keeps its settings, such as Keep reachable. Updating restarts Naytto, so it ends a session in progress; for the next half minute naytto status may say Naytto’s Windows service is reconnecting, then Reachable from your browser again, with the Version you have.
22Remove the PC from your account
In your computers, in any browser, choose … next to the PC, then Remove from account. The browser asks Remove “OFFICE-PC” from your account?: any session on it ends now, and it can’t connect again until you add it back from that PC. Choose OK. The PC leaves your computers; with no other computers there, the page says No computers yet.
23Add it again
Removing leaves Naytto installed and starting with the PC. On the PC, naytto status now says:
This computer was removed from your account. Add it again to use it remotely. Computer OFFICE-PC Account Not added. Run: naytto add Status Not reachable until it's added to an account
To use the PC again, run naytto add and approve it as in steps 05 to 10. Because Naytto’s icon is already running, Windows also shows a Naytto: allow sam.rivera@example.com? dialog. Click Yes there, or type yes in PowerShell; either one answers. Don’t press Enter in the dialog: No is selected.
24Uninstall Naytto
To take Naytto off the PC, open Settings › Apps › Installed apps and search for Naytto. Choose … beside it, then Uninstall, and Uninstall again to confirm. Windows then asks for administrator approval: click Yes (No is selected, as in step 03). PowerShell removes Naytto and closes by itself. Uninstalling also removes the PC from your account if it’s still on it.
If something isn’t right
- The term 'naytto' is not recognized. That PowerShell window was already open before you installed, and it isn’t the one you installed from. Open a new PowerShell window from Start.
- Nothing installed after the administrator prompt. Choosing No, or pressing Enter while No is selected, stops the install. Run the command again and click Yes. If your Windows user isn’t an administrator, type an administrator’s password in that prompt.
- The code ran out. It works for 10 minutes. Then PowerShell says The code expired. Start again. above a red error. Run the install command again for a new code. For a sign-in code that expired, choose Use a different email or send a new code.
- Asleep, Not responding or Can’t reach. The PC is asleep, off or offline, or Naytto isn’t running on it, and Naytto can’t wake it yet. Wake it or check its network, then keep it awake as in step 19.
- Screen unavailable. Naytto can’t reach the PC’s screen. Run
naytto statuson the PC to see why, then connect again. - Update needed. Run the install command again on the PC, as in step 21, then connect.
Still stuck? Get help from a person.