Running applications remotely windows




















Ever hear of FTP? There's a PowerShell module for that too. But it's still not really clear as to what you are trying to do and what you want to do it with. I somehow care less than I did yesterday and will un-subscribe With Action1 you can run an application remotely on any number of computers - Run Application with Command Line. To continue this discussion, please ask a new question. Get answers from your peers along with millions of IT pros who visit Spiceworks.

Edited Jun 4, at UTC. Popular Topics in Windows Server. Spiceworks Help Desk. The help desk software for IT. Track users' IT needs, easily, and with only the features you need. Learn More ». Thai Pepper. Mac Mad This person is a verified professional. Verify your account to enable IT peers to see that you are a professional. Pure Capsaicin. Little Green Man This person is a verified professional. Do you have any pseudo code written? Which function or command to be used?

Can you tell me how it can be done? IT researcher wrote: Which function or command to be used? Bill Kindle wrote: IT researcher wrote: Which function or command to be used? Therefore we will use the same one as recommended which saves you from many complex steps. However RemoteApps and the template image of Remote Desktop Session Host as of this writing is not available on preview portal.

So by the time you read this article and proceed, check to see if remote apps is available on preview portal. The steps would be similar and will not change to a great extent even if you are following new portal in the future. Open the full management portal and login with Microsoft account and select the subscription of your choice.

This will open up a pop up. On the Virtual Machine configuration page, provide values as given below and click on Next to continue —. Now on the subsequent Virtual Machine Configuration page, provide the following values and click Next to continue —.

Now we need to copy our sample SocialClub application on this VM so that we can publish the application later when Azure Remote App is provisioned.

Open Visual Studio and build the sample application in Release mode. Please make a note of the path of exe as we will need it later during publishing programs in Azure Remote Apps collection. To verify everything is working, run the exe named as SocialClub. All we need to do is to check the VM against prerequisites and capture the template image using Sysprep. Just run it and it will start the entire process of validating the current VM against remote app requirements.

Once PowerShell is through with VM validation a prompt will popup in the same window asking for Sysprep. Sysprep is a utility used for generalization of VMs.

After sysprep, you can capture the image of your VM. Click on the Capture button present at the bottom pane of the portal and provide the values as shown here —. This process will capture the VM image and it will be available under the Images tab in management portal.

Now you must have observed that the original VM has been deleted. However the associated OS disk of original VM is still present. As we have captured the image from this VM, we do not need this disk. Moreover after a generalized process, it is not recommended to use the same disk for provisioning a new VM. Therefore instead of retaining this unnecessary disk, just delete it.

It must be having name of VM in it. The image we had created earlier will appear in the drop down. So click on the checkbox that has the confirm option as shown here and click on Next to continue. The image upload to the Azure Remote App is an asynchronous process and it will take a good amount of time depending on your bandwidth connection.

After a successful upload operation, the image will appear as shown here —. Now we are all set to create cloud collections in Azure Remote App and publish our SocialClub application. Creating remote app collection takes at least half an hour to get ready for use. A pop up will appear. Now click on Complete. Now we need to make sure that proper user access is given.

In case you wish to add access to another Microsoft account, you can do so. As shown below the url provides a download link from which you can download any version of the client app —. Download the client exe for Windows platform as I will be using it from my windows 8 laptop. Alternatively you can have it downloaded as per your device platform. Once the client application has downloaded, signin with your Microsoft Account which has access to remote app collection. After successful login, the SocialClub application will appear as shown below —.

Double click on Social Club app and a RDP session will get activated automatically and the login screen of our Social Club application will appear. This way you can download the client app on any device running any platform such as iOS, Android, Windows and access the application.

The application is running on remote computer in Azure and it appears as if it is running on your local machine. I hope the steps above must have given you good understanding of running desktop application in cloud using Azure remote apps. Now in next section we will particularly understand an advanced scenario of Redirection which is very common in enterprise corporate applications. The name of the disk is derived from the user name.

When a user saves any data, it always gets saved in his Documents folder and it appears as if it is local to his device [which is not]. Our focus in this section is to determine how exactly can you use this feature in your application. Click on it and a file dialog will open. The functionality of this button is simple. It allows a user to upload a file which is a very common scenario in many desktop based corporate or enterprise application.

So in this case, the file should get uploaded to the user specific UPD. The code I have written on this button click is very straight forward and is shown here —.

So in this way, by using Environment. The screenshot of my desktop file is as shown here —. When we click on the Upload button in the application, the folders and files present on the desktop of local laptop should be listed. The reason of it showing Remote App VM desktop is quite obvious as the application is not running on our local laptop, rather it is running in Azure VM, hence desktop of Azure VM is displayed in file dialog box which is perfectly fine.

However we want to save the document from the desktop of our laptop to Document folders which is UPD highlighted in green in above screenshot. In your case, the green folder will be displaying your name. Redirection helps users to interact with Remote Apps using the devices attached to their local computer, laptop, tablet or phone. The devices can be camera, printers, speakers, monitors and so on. Once we enable the drive redirection, local computer drives get mapped to remote session and we would be able to access local folders and files in remote session.

To enable drive redirection, we need to use Azure PowerShell. Once installed, open the Azure PowerShell window as administrator. Run the following commands to make a connection to your Azure subscription. In your case, the collection name can be different in the above command. This commands enables the drive redirection to all the published apps within Azure Remote App collection. Now open the remote app client and open Social Club application again.

Click on Upload and then you should be able to view the local drives of your computer as shown here —. This is how Redirection can be used to make remote app communicate with local devices.

Redirection is not new. It is already being used with RDP files. For example, get a. The RDP file will open in notepad and you will see something similar to the following —.

As you can see, redirection settings already exist in RDP file and you can change it from notepad and save it. In case of remote app, we are changing the same setting but through PowerShell. The highlighted block in the above screenshot shows drive redirection settings. Similarly there are many other settings that can be changed through redirection in Azure Remote apps. In this article, we saw how Microsoft Azure Remote Apps features can run desktop application. We also saw the benefits associated with running desktop apps in the Cloud.

With the help of redirection, we saw how to make remote app based application more user interactive and device independent, thereby enabling true BYOD Bring Your Own Device environment for users. Download the entire source code from GitHub at bit. This article has been editorially reviewed by Suprotim Agarwal. C and. For example:. You can also change this option in the SSH configuration files. Please refer to the SSH documentation for more. Some applications may not function properly when run as untrusted clients.

This is the best part! To run the X application you want, simply SSH in to the machine you desire, and run the program. The program should display on your screen, probably after some delay as it loads. Note that X11 requires a lot of network traffic. Firefox, for example, can take several minutes simply to start and display your home page on slow connections.

But some applications are fairly reasonable, especially on a broadband connection such as DSL or Cable. Feel free to experiment with various settings.

Turning on compression in your SSH client can also help in some situations.



0コメント

  • 1000 / 1000