Cannot Get The Correct Buildnumber Of The Remote Desktop Services Client
Jul 6, 2010
I want to use the c# write a programe to get the logon session information.I use the WTS_INFO_CLASS Enumeration refrenced to the msdn library,the url link is [URL]
Everything is ok except the WTSClientBuildNumber property. The WTSClientBuildNumber that I get is 5875288,but it should be 6001.I use the 6.0.6001 RDC for my test.Can anyone tell me the problem.
The following is my sample code
If WTSQuerySessionInformation2(ptrOpenedServer, active_session, WTS_INFO_CLASS.WTSClientBuildNumber, istr, returned) = True Then
ClientInfo.WTSClientBuildNumber = istr.ToString()
End If
View 1 Replies
ADVERTISEMENT
Mar 11, 2010
I have a VB6 app using MS Access2003 database ODBC connection in Windows Server 2008my connection string is simple ODBC-- DSN=hotel -- using Microsoft Access Driver (.mdbusing admin user - i can run all forms on windows server 2003 successfullyusing other users - i get "permission denied error 70"I have 2 problems,1- cannot use software in terminalservices using remote desktop to server @Windows Server 2008i have 10 machines connected using Remote desktopfor a limited user, >> permission deniedif i cange the limited user to admin >> things work but ONLY FOR THAT USER!ALL OTHER USERS THEN HAVE PROBLEMS WITH THE SOFTWARE, some exit, some cannot fetch data, etc.
View 1 Replies
Mar 21, 2012
This code so far works like a charm, and I need a couple more things before I'm finished.
1. I know the UPN (userPrincipalName) is setup using user.Properties("userPrincipalName").Value = ComboBox2.Text and that works fine... however, we have an additional UPN name.. check out the picture below.
2. Any way to setup the Remote Desktop Services Profile up? Peticularly Remote Desktop Services home folder. Where Connet: would be selected, as well as Drive letter, and To: would be filled out as well. [code]
View 2 Replies
Dec 26, 2010
creating remote desktop connection in vb.net using Microsoft Terminal Services(msrdp.ocs). The main objective is to remote monitor clients without interrupting them or knowing they are monitored.
View 5 Replies
Oct 17, 2011
Both I and a Friend are working on a Visual Basic Remote Desktop Client, we've got as far as laying it out the way we want it but are unsure of how to code the program. Can anyone shed some light upon what we could use to make our program generate an ID which another user can enter at their site to connect to the computer?
View 1 Replies
Jun 17, 2011
I woudl like to use a the RDP control in my form. However, when I add the Active-X object and open the form during runtime with frm.show() the app fails.
There are several apps available who do excatly the same. How can I get this running?
View 5 Replies
Jul 18, 2012
Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.
Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?
View 3 Replies
Jun 11, 2012
We have a Windows Forms VB.NET application running on Windows Server 2008. Users access this app using Remote desktop.The app displays information in Excel, but Excel opens on the server.Is there a way for the .NET app to launch Excel on the users local desktop?
View 1 Replies
Aug 5, 2010
I want to do a small application that made the broadcast of images from a PC. The idea is to make an application of remote management but without the management part, only with the viewing of images. Anyone know any code already done or any API that helps in the project?
View 8 Replies
Aug 11, 2011
i connect to a remote pc via terminal services, when i print with the Microsoft Office Word i get the print in my local printer fast, but when i try to print with my own application the print take 10 seconds.
I use to print the control PrintDocument.
View 5 Replies
Jun 20, 2011
Im trying to check multiple services on different remote servers. i need to check lets say, RPC, Themes and Print Spooler services.
how can i list the services i need to make sure they're running and if they're not to start them in VB.net without using WMI?[code]...
View 2 Replies
Feb 17, 2012
I am a new member here and a new user of VB.Net.So, I would like to know how to make an application that can control the processes and the services in a remote machine.
View 4 Replies
Apr 20, 2009
We want to set up a bunch of thin clients linked to a server running server 2003 using terminal services. When the thin client runs our app it needs to know which station it is so it can gather information unique to itself from the database. (IP address?). Our app is written in VB6.
View 3 Replies
Sep 22, 2010
how to use directory services for listing the members of the local administrators group on a remote pc in the following format?
[Code]...
View 1 Replies
Apr 27, 2009
I am currently working on a silverlight project with RIA Services and have seem to come across a bug(or wrote a new one).In a simple query I am retrieving a entity model from the server. In the server side service class a DateTime is correct(to what's in the db) but on the client it seems to go back 24 hours and maybe 10 hours...6/04/2009 12:00:00 AM (Database) turns into 5/04/2009 2:00:00 PM and also displays as 5/4/2009 12:00:00 AM.
View 2 Replies
Jun 10, 2010
Here is the final code that worked for me. This uses WNetAddConnection2 to establish a connection first, before using DirectoryEntry.
Imports System.Runtime.InteropServices
Imports System.Net
Imports System.DirectoryServices
Imports System.IO
[Code]...
So I moved the code to an ASP.Net web app, which is impersonating a service account through the Impersonate section of web.config. The account I am impersonating does not have admin rights on any of the workstations so I put in a username/password into the constructor for the computer entry like so:
Dim deComputer As New DirectoryEntry("WinNT://" + Computername + ",computer", username, password).The username is that of a domain account which has local admin rights on every workstation. If I look at the Username property of the resulting deComputer object I can see that the username matches what I entered.Also if I enter in an invalid password it throws an error, so it is authenticating in some fashion.
However if I now try and add or remove a user from a remote workstation I get a general access denied error. If I add the service account that ASP.Net is using as a local admin on that workstation it will add and remove no problem.So next I tried using the LogonAPI (advapi32.dll ->LogonUser call) to login as the user account that is a local admin on all workstations, impersonated the resulting WindowsIdentitiy and tried running just the original deComputer instantiation. When I do this every property, excepty Path, returns an OLE exception..
View 1 Replies
Jul 7, 2010
I want to create a software for remote computer Desktop connection(we can see and operate remote computer in our computer display), can any one give Windows itself has a long procedure to do that(Remote Desktop Web connection), sometime it develops security issue, other options are 3rd party. I want to create it on my own.
View 1 Replies
Aug 6, 2010
Myself Sandeep Francis I am working with a project tat can monitor the remote pc without knowing the user who uses that pc, the project module goes as below
[Code]...
View 2 Replies
Jul 28, 2011
I am building a client in VB.net for calling webservices methods from a partner organisation.[URL]../system.web.services.protocols.soaphttpclientprotocol%28v=VS.71%29.aspx because I can't get it to work using the Web References feature of Visual Studio 2010 (when I try to do that it turns the methods from the WSDL into classes).I have created a proxy class and can instantiate an object of that class no problem.
However, when I try to call a method which requires arguments I get this error:
Unmarshalling Error: unexpected element (uri:"http://api.service.apimember.emailvision.com/", local:"key"). Expected elements are <{}key>,<{}login>,<{}pwd> Does anyone have any idea why this might be? (If it's helpful I can post my code and the location of the WSDL.) (P.S. I can get the whole thing to work fine in PHP using ZF Soap classes, but for various reasons I need to get it to work using .Net)
Edit to add: I have used Wireshark to examine the outgoing and incoming SOAP message to compare them with the messages being sent via SoapUI, where it all works fine.What this has shown is that my VB client is sending a message where the namespace of the web service I am trying to access is declared as an attribute of the method, and not in the soap:envelope attributes.
[Code]...
View 1 Replies
Aug 13, 2009
I have a problem with a large application that consists of windows forms mainly, but some WPF windows and controls (we also use DevExpress controls v9.1). The problem is that the application sometimes hangs when it runs in a remote desktop session, and that session gets locked due to inactivity, and the user comes back and unlocks the session. The hang seems very similar to the hangs you get when accessing GUI controls from a none GUI thread, but I'm pretty sure that's not what causes the problem. (We had a lot of those problems earlier, and have fixed all multithreading problems we were able to find. And the hangs now never occures when the application runs outside the remote desktop environment.)
I've done a lot of research on the problem but I've still not found a clear point to what causes the problem. However, I think there might be a problem related to some combination of remote desktop and .NET framework. The reason for this is posts like this:
[Code]...
View 9 Replies
Sep 23, 2010
I want to be able to view the desktop in almost-realtime from a computer on my lan (its part of my business) As this is a business situation teamviewer is not free, but id rather like to make my own server and client anyway - will be fun! I need to know the best way of sending the desktop fast to the second computer. I know of several ways to do this: take image of screen be it jpeg/bmp or whatever and send it as many times a second as i can (too slow) take an image of the screen and compare it with the previous image and send the bytes that have changed. take multiple images of the screen compare with previous images and send through the bytes that have changed.
View 1 Replies
Jun 10, 2009
Is there anyway, in a program, to detect if a program is being run from inside a remote desktop session or if the program is being run normal in .NET 2.0? What I'm trying to do is, I create a timeclock application which will clock a person in and out and keep track. But this particular person, I suspect, is remoting into their computer at work, from home, and clocking in and out.
View 5 Replies
Mar 8, 2010
I am trying to overcome a problem I am having with remote desktop.Basically I have 2 machines running in different locations. I use remote desktop to access one of them (the "Remote Machine") from the other.("My PC")The "Remote Machine" is performing automated tasks that require the screen to be active, not the user login screen.
When I do so the Remote Machine logs off and presents the normal windows login screen.When I am finished reviewing the remote machine I log off and then I need to log back into the "remote" machine. It has no monitior but I can log in by pressing the enter key which sends a keypress to log into the user account( there is only one). In fact I do this the other way around. I press the enter key on the "Remote Machine" and this logs the user back in - terminating the remote session on "MyPC".
The problem is I have to physically go to the Remote Machine to press this enter key.This is a hassle - One solution is to remotely re-boot the remote pc but the lead time involved is too great.I am unable to fix this problem by tweaking setting or registry hacks so I guess the solution must be to cause the remote user to log back in programatically.I am an experienced VB user but I have never worked outside the windows environment. Ideally I would like to programmtically send a keystroke "{enter}" to the login screen but this doesn't work.
View 7 Replies
May 19, 2011
How to bring up something like a remote desktop window? Is it like a com service or is there a control which I an include in my form?
View 2 Replies
Apr 2, 2011
How do I check the connectivity to Remote Desktop through Visual Basic (if possible). I would like to run a program checking if servers is up running normally. In some cases servers will respond to ping, without being able to connect to RDP. It would be great to a program being able to detect loss of RDP-connectivity almost as soon as any problems appear.
View 1 Replies
Oct 27, 2009
How do I use the sendkeys command to send keys to a remote desktop. I tried using send keys with a delay set by a timer and then simply to put my mouse cursor on a notepad in the remote desktop but it didn't work.
View 9 Replies
Oct 17, 2009
I created an application that opens certain Microsoft Windows built in functions depending on what button you use. I have Text Fields setup for certain things like IP/URL, Username, Password, Port, Service. Depending on what function you want it pulls data from these fields.
When someone clicks on Remote Desktop I would like it to pull from the IP/URL, Username and Passwords fields. Right now it pulls only from the IP/URL field. How can I have it populate the Remote Desktop login, pulling the data from my Username and Password fields?
I have found a Login DLL that someone wrote and also found a Remote Desktop DLL but I do not know how to tie these into my program. I somewhat know the process of using a DLL in a VB project but I don't know how to tie these in.
FYI, I would like to be able to make my application a single executable instead of having multiple files that are installed by an Setup program.
Another feature of my program is being able to stop and start a service. I can use Taskkill and have it pull the username and password just because Taskkill has this built in with switches. This is ok for ending tasks but when I try to use SC to start the tasks, it only works locally because the remote server has a different username and password. SC does not have a switch for username and password.
Also another FYI, I do not want to use a 3rd party software that may not be on the remote computer/server. i.e. PSKill, PSExec, VNC or another program..... unless these can be imported into my single executable program and not have to be on the computer. As I mentioned, I do not like having to rely on 3rd party applications.
View 1 Replies
Jan 12, 2011
procedure or program codes in creating a remote desktop application using visual studio, vb.net with the tool Winsock. I've heard in blogs and forums that Winsock can be a good tool in creating a remote desktop.
View 4 Replies
Jun 19, 2010
I am building a program that passes a string of text to a program on a remote desktop connection. I tried using SendKeys on a timer, so I could press a button on my program set the text box on remote desktop focus and then have my software 'send' the string. This doesn't seem to work, however, it does work locally if I send the text to an empty Notepad.[code]...
View 1 Replies
Mar 12, 2012
I need a code that runs on a machine that I am remotly connected to and displays the IP address or the PC name of my computer that I'm connected from.
View 1 Replies