rdp

Credential Provider - how to skip SAS?

你离开我真会死。 提交于 2019-12-14 02:55:21
问题 I implemented my own custom Windows credential provider following the Windows SDK example which should let a remote application connect to a server and perform logon automatically. The problem is: the SetUsageScenario event is not called until a user presses the SAS combination (Ctrl+Alt+Del), therefore my credential provider isn't able to automatically perform the login until that happens. How does RDP do the login automatically without me pressing Ctrl+Alt+Del and logging in automatically?

Sysinternals psexec not running on the remote desktop

我与影子孤独终老i 提交于 2019-12-13 22:41:27
问题 I've got two Remote Desktops hosted by a Hyper-V. On Remote Desktop "A", I've got a .bat file, which I want to execute. On Remote Desktop "B", I've got a cmd open with psexec cmd ready to invoke .bat file on machine "A". "path-to\\psexec.exe" \\ip -u domain\username -p pswd -i cmd.exe /c "path-to\\myFile.bat %*" The script contained in .bat file on machine "A" operates on the UI and thus requires a real screen to be open, so I am connected to two RDs simultaneously. However, when I call

Web Based RDP Client

蹲街弑〆低调 提交于 2019-12-13 21:00:29
问题 Can I permit RDP based connections from a website using PHP/JS/etc? I've read that RDP session files can be placed on the web server but would prefer to implement it via code. I am looking for the best way to offer a centralized management of windows machines and allow direct RDP connections. http://msdn.microsoft.com/en-us/library/windows/desktop/aa383019%28v=vs.85%29.aspx This looks like it could potentially work, although it requires IIS as the web-server and requires a role to be

Windows Azure VM RDP issue

烂漫一生 提交于 2019-12-12 16:27:10
问题 I followed this http://blogs.technet.com/b/keithmayer/archive/2013/04/17/step-by-step-build-a-free-sharepoint-2013-lab-in-the-cloud-with-windows-azure-31-days-of-servers-in-the-cloud-part-7-of-31.aspx#.UX_iF7XvvQI I created a VM using the datacentre Image it created successfully and the status shows Its running. I am trying to RDP It says Remote Desktop cant connect to the remote computer for one of these reasons: 1) Remote access to the server is not enabled 2) The remote computer is turned

How to Develop/implement a Remote Desktop app for iPad? [closed]

故事扮演 提交于 2019-12-12 11:43:01
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I have been trying to search a lot online on this but most of the links are not explaining how to implement. Some questions to start

Print labels via a redirected printer

╄→尐↘猪︶ㄣ 提交于 2019-12-12 04:48:44
问题 My task is to print labels via a thermal printer. To this purpose a string of tspl(programming language that the printer understands) commands is generated and sent to the printer. The latter is done in C# with the following method taken from the microsoft example "How to send raw data to a printer by using Visual C# .NET" public static bool SendBytesToPrinter(string szPrinterName, IntPtr pBytes, Int32 dwCount) { Int32 dwError = 0, dwWritten = 0; IntPtr hPrinter = new IntPtr(0); DOCINFOA di =

Windows: How to simulate connected screen via VGA

落爺英雄遲暮 提交于 2019-12-11 11:00:02
问题 I am trying to make a screen capturing service. I have a physical PC and I would like to run a program that displays a document (ex. MSWord) and then take a screenshot. Problem is that if I use using (var bitmap = new Bitmap(p.EndX - p.StartX, p.EndY - p.StartY)) { using (Graphics g = Graphics.FromImage(bitmap)) { g.CopyFromScreen(p.StartX, p.StartY, 0, 0, p.EndX,p.EndY,new Size(p.EndX - p.StartX, p.EndY - p.StartY)); } bitmap.Save("result.png", ImageFormat.Png); } it works only if I have a

Azure Virtual Machine not accessible after RDP port changed

混江龙づ霸主 提交于 2019-12-11 04:44:57
问题 I've changed RDP port to 8080 in registry on my Azure Virtual Machine (Windows Server). Now it is not accessible from outside, I cant connect it. Azure VM is managed by Resource Manager (not Classic VM). UPDATE: Turning secuiruty rules so allow all not helped. 回答1: I've changed RDP port to 8080 in registry on my Azure Virtual Machine (Windows Server) We can use CustomScriptextension to check if RDP listening on port 8080. netstat -ant | findstr "8080" If your port not listening on Port 8080,

How do I tell when the default printer was changed?

你说的曾经没有我的故事 提交于 2019-12-11 04:06:44
问题 I am looking for a way to detect when the default printer was changed on an RDP session. Basically we are trying to record the users last default printer and I feel the easiest way to perform this task is to detect when the user changed printers as opposed to capturing the default when they log off. I have looked at several options so far, some of them are below. Solution 1 Attempt to attach to the local print monitor to check for the change of default printer. I found this URL

Delphi/Rdp check username and password before connect

旧时模样 提交于 2019-12-11 02:28:16
问题 as the subject say am trying to connect to server using this code in delphi procedure TmainF.Button1Click(Sender: TObject); var rdp1 : TMsRdpClient7NotSafeForScripting ; begin rdp1 := TMsRdpClient7NotSafeForScripting.Create(self); rdp1.Parent := mainF; rdp1.Server:=server_name; rdp1.UserName := user.Text; rdp1.AdvancedSettings7.ClearTextPassword := password.Text; rdp1.ConnectingText := 'connecting'; rdp1.DisconnectedText := 'disconnected'; rdp1.AdvancedSettings7.AuthenticationLevel:=0; rdp1