RDP on Windows10 for RaspberryPi - windows

How can I activate Remote Desktop Protocol on Windows10 through commandline?
I have the SSH running from Mac to Win10, but are not get RDP working.
I tried this CMD command for activation:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
Rebooted with:
shutdown /s /t 0
And looked for listening ports with:
netstat /p tcp /a

Windows 10 IoT Core doesn't support RDP up to now.
The only "remote" ways are :
Powershell
SSH
Web Interface
Paolo.

Related

Message Description Popup while sending message to same network in CMD

I want to send message from Dell-PC to Acer-PC
Both are connected to same wifi network.
Dell-PC - Windows 10
Acer-PC - Windows 7
But when ever i use msg command, i get the following:-
The command i use:-
msg /SERVER:Acer-PC * /TIME:20 "Welcome!"
This answer is an hybrid of Batch and VBScript
You will need to enable LocalAccountTokenFilterPolicy value in remote computer:
In that computer open CMD as administrator and type:
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
It should return The operation completed successfully.
Next, create the message box file. For that use a tool called PsExec from Windows Sysinternals
When you have downloaded PsExec, run the following command:
PsExec \\Acer-PC -e CMD /c echo CreateObject("WScript.Shell").Popup "Welcome!",20,"" ^> C:\MessageBox.vbs
To run the message box, type the following from your computer (Acer-PC):
PsExec \\Acer-PC -e WScript.exe C:\MessageBox.vbs
It will appair the message during 20 seconds

Enabling developer mode on Windows 10 Build build 10074

Windows 10 Insider Preview build 10074 has a known issue using the Settings application to enable developer mode. In this build, if you try Settings/Update & Security/For developers... the settings window suddenly closes.
Is there a workaround?
Yes, there's a work-around. In an administrator command prompt, type the following commands:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "1"
Then reboot the machine to enable developer mode

Printui.dll, PrintUIEntry for installing a driver on a remote machine

In the help of printui.dll,PrintUIEntry /?, we have the following examples for remotely installing printer driver with the help of /c switch.
Add printer driver using inf:
rundll32 printui.dll,PrintUIEntry /ia /c\\machine /m "Brother DCP-128C" /h "x86" /v "Type 3 - User Mode" /f c:\infpath\infFile.inf
Add printer driver using inf:
rundll32 printui.dll,PrintUIEntry /ia /K /c\\machine /m "Brother DCP-128C" /h "x86" /v 3
I am failing in getting this to work with an error code of 0x32 (This function is not supported). I am doing the following :
Using "net use" to create a connection to the remote server using the remote server's admin credentials.
Disabling the UAC in the remote machine.
Running the above command with and without /K.
I can see that it is copying the driver files into the remote machines "print$" folder but the remote installation finally fails with an error prompt with error code of 0x32.
Is there a way or a specific condition to make this thing work ? Because it is mentioned as an example in the help documentation, I think that I might be missing something.
Are there any other ways to achieve the desired task?

how to edit AutoConfigUrl registry for proxy pac using script

We are creating a SSL VPN setup and our SSL VPN Gatway does not push pac files to the end users machines. But it do supoort running scripts when user connects and disconnet the ssl vpn.
I have created two batch files placed in system one will get execute at the time of connecting to SSL VPN and other at the time of disconnect to the VPN
Connecting to VPN reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /t REG_SZ /d "http://www-abc.com:3132/accelerated_pac_base.pac " /f
Disconnecting to VPN reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /t REG_SZ /d "" /f
The same is getting updated in the registry but not in the internet explorer connection settings.
Above, you mentioned that we have to modify the value under [HKEY_USERS\, to rectify brower restart issue.
Is is possible to create a two files ( Loin/Logout ) which could be provided to around 100 users to place in their system in the given path. and that patch would be called from our SSL vpn access gateway and resolve browser restart issue
Thanks
Manpreet Bhuee

Why do I get Access Denied when accessing a remote path as local administrator?

I have a Windows-xp-sp3 virtual machine, with configured NAT, disabled firewall, and ping-able ip address.
I'm trying to access \\<vm-name>\c$ from my computer.
I entered the <vm-name>\Administrator user in the prompted authentication window, yet I get Access is Denied.
When I configure "Everyone" to be an administrator on my VM, I can access the path.
Why do I get "Access is Denied" as a vm-local administrator user?
Edit: Solved the problem thanks to this blog:
http://chall32.blogspot.co.il/2010/02/how-to-enable-access-windows-7.html
You can run this line on your remote machine:
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
Questioner provided the answer themselves. Running a simple Registry tweak on the remote machine (i.e., the host of the file being accessed) does the job --
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
Answer based on a blog post, and backed up by MSKB.

Resources