Turn On or Off Device Portal for Desktop on Windows 10 PC  

    Turn On or Off Device Portal for Desktop on Windows 10 PC

    Turn On or Off Device Portal for Desktop on Windows 10 PC

    How to Turn On or Off Device Portal for Desktop on Windows 10 PC
    Published by Category: Network & Sharing
    05 Jul 2022
    Designer Media Ltd



    How to Turn On or Off Device Portal for Desktop on Windows 10 PC


    The Windows Device Portal lets you configure and manage your device remotely over a network or USB connection. It also provides advanced diagnostic tools to help you troubleshoot and view the real time performance of your Windows device.

    The Device Portal is a web server on your device that you can connect to from a web browser on your PC. If your device has a web browser, you can also connect locally with the browser on your device.

    Windows Device Portal is available on each device family, but features and setup vary based on the device's requirements.

    Starting in Windows 10 version 1607, additional developer features are available for desktop. These features are available only when Developer Mode is turned on.

    Device Portal lets you view diagnostic information and interact with your desktop over HTTP from your browser. You can use Device Portal to do the following:
    • See and manipulate a list of running processes
    • Install, delete, launch, and terminate apps
    • Change Wi-Fi profiles, view signal strength, and see ipconfig
    • View live graphs of CPU, memory, I/O, network, and GPU usage
    • Collect process dumps
    • Collect ETW traces
    • Manipulate the isolated storage of sideloaded apps

    Device Portal on desktop provides the standard set of pages.
    • Apps manager
    • Xbox Live
    • File Explorer
    • Running processes
    • Performance
    • Debug
    • Event Tracing for Windows (ETW) logging
    • Performance tracing
    • Device manager
    • Networking
    • Crash data
    • Features
    • 3D View
    • Simulation
    • Scratch

    For information about Device Portal, see:

    This tutorial will show you how to turn on or off Device Portal for desktop on your Windows 10 PC.

    You must be signed in as an administrator to turn on or off Device Portal.



    Contents








    OPTION ONE

    To Turn On Device Portal in Windows 10


    1 Open Settings, and click/tap on the Update & security icon.

    2 Click/tap on For developers on the left side, and turn on Turn on remote diagnostics over local area network connections under Device Portal on the right side. (see screenshot below)

    It is required to have Developer mode turned on to be able to turn on Device Portal.

    Turn On or Off Device Portal for Desktop on Windows 10 PC-turn_on_device_portal-1.jpg

    3 If prompted, click/tap on Yes to install the required Windows Developer Mode Package. (see screenshots below)
    Turn On or Off Device Portal for Desktop on Windows 10 PC-turn_on_device_portal-2.png
    Turn On or Off Device Portal for Desktop on Windows 10 PC-turn_on_device_portal-3.jpg

    4 Turn on Authentication under Device Portal on the right. (see screenshot below step 5)

    HTTPS is required for authentication and secure communication.

    If you are using Device Portal in a protected environment, like a test lab, where you trust everyone on your local network, have no personal information on the device, and have unique requirements, you can turn off Authentication. This enables unencrypted communication, and allows anyone with the IP address of your computer to control it.
    Turn On or Off Device Portal for Desktop on Windows 10 PC-turn_on_device_portal-4b.png


    5 Create a username and password for Device Portal, and click/tap on Apply. (see screenshot below)

    For security purposes, do not use your Microsoft account or other Windows credentials.

    Turn On or Off Device Portal for Desktop on Windows 10 PC-turn_on_device_portal-4.png

    6 Click/tap on Yes to confirm changing your username and password for Device Portal. (see screenshot below)

    Turn On or Off Device Portal for Desktop on Windows 10 PC-turn_on_device_portal-5.png

    7 You will see Connect using URL links (ex: Wi-Fi and localhost) at the bottom to connect to Device Portal with.

    Take note of the port number (ex: "50443") applied to the end of the URL: this port number is randomly generated when Device Portal is enabled, but should remain consistent between reboots of the desktop.

    You can choose from two ways to connect to Device Portal: local host and over the local network (including VPN).

    Local Network (ex: Wi-Fi) = Use this address to connect over a local network.

    Localhost = Use this address to view Device Portal locally.


    8 You can now close Settings if you like.






    OPTION TWO

    To Turn Off Device Portal in Windows 10


    1 Open Settings, and click/tap on the Update & security icon.

    2 Click/tap on For developers on the left side, and turn off Turn on remote diagnostics over local area network connections under Device Portal on the right. (see screenshot below)

    This Device Portal setting will be grayed out and disabled if Developer mode is turned off.


    3 You can now close Settings if you like.

    Turn On or Off Device Portal for Desktop on Windows 10 PC-turn_off_device_portal.jpg


    That's it,
    Shawn






  1. Posts : 174
    Windows 10 Enterprise x64 1709
       #1

    Thanks, but do you have any idea how to Disable Device Portal and Disable Device Discovery via Registry Editor?
      My Computer


  2. Posts : 64,536
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    I haven't found a way to do so easily with Registry Editor considering the authentication.
      My Computers


  3. Posts : 174
    Windows 10 Enterprise x64 1709
       #3

    After you Enable Device Portal you can use below settings for Authorization:
    Just how to Enable/Disable Device Portal in Registry?!

    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WebManagement\Service]
    "HttpPort"=dword:0000c3a0
    "HttpsPort"=dword:0000c50b
    "RequireDevUnlock"=dword:00000001
    ;Authorization
    "UseDefaultAuthorizer"=dword:00000001
    ;0 to use your own port
    "UseDynamicPorts"=dword:00000001
      My Computer


  4. Posts : 64,536
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    I don't see a simple on/off registry option for this setting.
      My Computers


  5. Posts : 64,536
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #5

    Tutorial updated.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:39.
Find Us




Windows 10 Forums