I want to try remote access my PC by using IP address to restart.How could I do that?
Yes, Its possible to restart / shutdown computer by ip address using remote access
Open the Begin menu on the PC you want to be able to shut down remotely.
Type .services.msc while the Start menu is open and press ↵ Enter
Discover "Remote Registry" in the list of services.
Right-click "Remote Registryt" and select "Properties."
Select "Automatic" from the "Startup type" menu.
Click the Start catch again and type "firewall."
Click "Allow an application or feature through Windows Firewall."
Click the "Change settings" button.
Check the "Windows Management Instrumentation" box.