Create RDP Session On Remote Servers

Mar 31, 2010

I am trying to find the way to create RDP session on remote computer using VB and net framework.

Because my company is using RDP(not a console session), some processes that have window that is to show logs and event must be executed on the screen.

However there is a lot of computers, I have to find some solution that is to execute remotely.

The problems that I encounter are as below.

1. if there is no session(in case of restarted) - I have to create session.

2. if there is session - I have to get appropriate sessionID

3. Remote execution - to execute remotely on the session.

View 1 Replies


ADVERTISEMENT

Backup And Clear Logs On Remote Servers?

Aug 3, 2009

Here's the code

'set the date'
Function FmtDigits(ByVal intValue, ByVal intDigits)
FmtDigits = Right(String(intDigits - 1, "0") & CStr(intValue), intDigits)
End Function

[code]....

It fails around line 18. I have the script working without the remote piece so the failure is actually in the connections to the remote. If I change the authentication information I get an access denied so I know it making a connection.

View 1 Replies

Disk Space Of Servers / Remote Computers?

Apr 10, 2012

Need to write a utility (either VB or perhaps a script?) to do the following:-to get the free disk space of all servers and append the results to a file

I have about 20 servers and it needs to check free space of chosen drives i.e. C, D and then append results to bottom of a spreadsheet or document showing computer (server) name, drive letter and the amount of free space

Tried it with WMI and works fine on local computer but doesn't seem to work across the network

View 2 Replies

Logoff A Remote Session?

Aug 9, 2011

I have a distributed print control application that is done in a combination VB6 and Visual C++. The application launches at startup on a workstation and waits for a user to login. Once that happens, we track time in the session, along with how many print jobs the guy performs.

We have separate session SW that allows a person to add money to their accounts. The problem is that if there's an active session, typically due to the individual being logged into one of the above mentioned workstations, I can no longer ensure updates to the DB will be atomic.

I would like to have the money terminal send a log off command to the remote workstation session if it detects a user is currently logged in elsewhere. But I'm not sure if there's an existing API for this.

View 5 Replies

Detect Local Computer Name On A Remote Desktop Session?

Apr 30, 2010

I can get the local computer name on a RDC session using Environment.GetEnvironmentvariable("ClientName") if the application is 32 bit and Server is 32 Bit or when app is 64 bit and server is 64 bit

How can I get the local computer name from a 32 bit application when the server is 64 bit

Environment.getEnvironmentvariable("ClientName") returns an empty string

View 6 Replies

Detecting Local Computer Name Etc On Remote Desktop Session

Nov 13, 2009

I have a VB.net 2008 Windows forms application which runs on W2k3 server and is accessed by 15 Remote Desktop users I would like to be able to store information such as the default printer for each RDC session plus other info To be able to do this I need to know the local computer name (or some other identifier) so I can store computer specific information (such as default printer) how I can get info about the RDC session from VB

View 1 Replies

Determine When Application Is Running From Remote Desktop Session?

Oct 27, 2009

Is there a way to determine if the application is running from an RDP session or not? Our staff has VPN access and use Microsoft's RDP Client to connect to their computers at the office. They mostly interract with software we've written. I'd like to identify those people that use our applications via RDP as opposed to being physically at their computer.

View 1 Replies

Deleting A File Or Folder On Multiple Servers From A List Of Servers?

Sep 29, 2011

I don't really know how to code but am pretty good at tweaking. I'm trying to set up a script that I can run to delete a single file, multiple files, a folder or multiple folders on a list of servers.I was thinking that the script could read the files to be deleted from a .txt file and apply the deletion to a list of servers in another .txt file.Example:

FilesToBeDeleted.txt:
\(insert_server_name_from_list)c$Program FilesBINexample_file.rpt
or

[code].....

View 1 Replies

Create A Little Program Where Can View A Few Game Servers?

Jul 18, 2011

I'm trying to create a little program where I can view a few game servers, specifically cs, cs:s, and cod4?

Imports GameServerInfo
Public Class Form1
Dim server As GameServer = New GameServer("74.201.57.23", 27015, GameType.CounterStrike)

[code]....

I've tested multiple servers as well that were up and running so It's not the servers I'm putting in.

View 5 Replies

Create A Session After The Else Statement?

Apr 25, 2012

I am trying to create a session after the else statement. How do you create a session and for it to be read by another file ?

Dim conn As MySqlConnection
'connect to DB
conn = New MySqlConnection()

[code]....

View 1 Replies

Asp.net - Create Session For User Login

Apr 10, 2012

some variables in my class:

[Code]...

i wana create session content all of these fields to use some of them in ctrls.

View 1 Replies

Create A Printer In The Current Session Of The User Running My Program

Sep 29, 2010

I'm looking for a little assistance in creating a network printer. I will have all the information required to create it, but I'm not sure where to start looking. I just need to create a printer in the current session of the user running my program.

View 2 Replies

Asp.net - Adding A Session ID To A Link For Automatic Session Start?

Dec 8, 2011

I am storing a session variable that a user types into a textbox. With their valid input, their session gets created and they get a little more functionality than the regular end users of the site.I was wondering if it is possible to find a way to add someone's session variable to the end of a URL. This way we can email a link to one of our clients, they click it, and their session has automatically begun. They already have the textbox to enter their code into, but I was told that it would be much easier for the users to just click a link that will start their session.

View 1 Replies

Session Id Or Session Number Of The Connection With Mssql?

May 28, 2009

On startup of my software which i developed in vb.net, it connects to mssql server. I want to have session id or session number of the connection with mssql. I'm sure it is unique number and i want to use this session in my software for different purposes. My question is

1. is there anything like session id or session unique number when you connection mssql server

2. if yes to 1 then how i can get it in vb

View 1 Replies

Create A Remote Control Device?

Aug 1, 2009

How would i create a remote control device so i could access any pc with this software and view there screens, share files, etc.

View 2 Replies

Create A Remote Runspace In Program?

Jan 28, 2010

How do I create a remote runspace in vb.net? I want to run a powershell script (actual script is created in my code in a txtbox object) on a remote windows server.[code]...

View 5 Replies

.net - Create Remote Process Via WMI And Wait For It To Exit?

Jan 18, 2012

I'm using System.Management to start a process on a remote target via WMI like this:

InputParameters("CommandLine") = "executable here"
OutputParameters = ManagementClass.InvokeMethod("Create", InputParameters, Nothing)

This kicks off the process and my code continues to run, but I need a way of monitoring that process and not doing anything else until it finishes. Is there a simple solution? I'm hoping there's something similar to Process.WaitForExit like there is when creating a local process.

View 1 Replies

Create A Folder On A Remote Computer Then Share It Out?

Aug 19, 2009

I need to create a folder on a remote machine (The machine name and UNC path are stored in an Access 2007 database. Once the folder is created, I need to share it out with Everyone:Full Control Permissions?

View 3 Replies

How To Create An Easy Application For Connecting To Remote PC And Run

Nov 1, 2009

I need to create a application that will allow me to connect to remote computers and find out the os like w2k or xp so i can run the right scripts for that os.be able to input add an ip or computer name and pass it all scripts like bat, vba and psexec.

I would like to be able to put all util files and scripts in a single dir and have the selected from 2 or 3 differant dropboxs ie... bat's in one droplist and vba's in an other dropbox ect...

have preselected buttons to perform basic function:

1. who is logged on
2. what OS and service pack info
3. connect with netmeeting or remote desk top
4. run a remote command on remote desktop IE.. open with my user account a CMD, Control Panel, Explorer, Explore Network Connections.

have the app ping the pc first to verify connectivity, then execute the script or bat.

View 1 Replies

VS 2008 Can't Create File On Remote Server

May 16, 2012

I'm using ReportExecutionService to create file on a different server on the network. The application does the required job if I run it locally, but fails to create file when I publish it. The error I get is- Access to the path '\servernameapth..xyz' is denied. The folder has full access to Domain users. Here is my code to create a report file on a different server via an ASP.net app.

[Code]...

View 6 Replies

VS 2008 Create A Shared Folder On A Remote Machine?

Sep 30, 2010

Is it possible to create a folder on a remote machine that has no previously shared folders? I can do this...

vb
Dim fname As String = "\10.1.x.yDocumentsMyFolderName"
IO.Directory.CreateDirectory(fname)

[code].....

View 3 Replies

Create Remote Desktop Monitoring Using Microsoft Terminal Services

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

Create, Delete, Edit Files And Folders On A Remote Web Address?

May 31, 2009

i'm developing a program that must be able to create, delete and edit files or folders on a remote web address such as [URL]

View 2 Replies

Asp.net - .Net Iniatialising A Class Using System.Reflection And System.Type To Create A Session Based Singlton Extension Method

Jun 11, 2009

I have had several occasions recently to access a specific class several times over a relatively small time frame.So I've been storing the value of the class in Session and trying to access it on page load, if it's not available creating a new instance and storing that in session.

So instead of constantly replicating the same code for different classes on different pages I'm trying to create an extension method to do this for me.

[Code]...

I'm stuck on what to do when I make my new instance of my class (it would have to have a New() sub)

I'm not sure where to go from here... or even if this is the best way to do it.

View 2 Replies

Create An Application That Will Allow To Monitoring In Real-time The Screen On A Remote Computer?

Feb 18, 2009

I would to create an application that will allow me to monitoring in real-time the screen on a remote computer, I dont want to keylog, or control mouse,ot keyboard, just watch what they do at real-time.

View 6 Replies

Create User Which Can't Login To Console But Which Can Access Secure Folders From Remote?

Jun 14, 2009

I think it should be something related with "Local Security Policy".

View 1 Replies

Create An Application That Connects To A SQL Database To Populate A Datagrid - Getting An Error 'remote Connection Permissions' ?

Sep 25, 2009

I am using VB 2008 Express and have created an application that connects to a SQL database to populate a datagrid.The application is working properly on my computer but will not on others 'remote connection permissions' error.After some googleing I found that the express version is crippled to only work on local machines that use a database.If I purchase Visual Studio 2008 Standard Edition, import and rebuild my application, will my application be able to run properly on other PC's?

View 7 Replies

VS 2008 : Create Application For Mobile Phone Sony Ericsson To Remote Control Program Using Bluetooth Connection?

Mar 20, 2009

is it possible to create application for my mobile phone Sony Ericsson to remote control my program using Bluetooth connection which have simple functions?I have came across one program that is able to do that which is floAt's Mobile Agent. It can control from media player, powerpoint slides and even mouse cursor movement.

View 10 Replies

Connect To A Remote Network By Creating A Temporary Connection On The Fly By Using The Remote IP/Host Name?

Jan 20, 2010

Rather than use an Entry name of an existing VPN connection, is it possible to connect to a remote network by creating a temporary connection on the fly by using the remote IP/Host name, username and password?

View 6 Replies

Remote Desktop - Make An Application Of Remote Management For Images

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







Copyrights 2005-15 www.BigResource.com, All rights reserved