how to sql server backup on tsclient

DECLARE @name VARCHAR(50) -- database name DECLARE @path VARCHAR(256) -- path for backup files DECLARE @fileName VARCHAR(256) -- filename for backup DECLARE @fileDate VARCHAR(20) -- used for file...

Java creates HUGE file when writing via Windows Remote Desktop (tsclient)

A client of ours reported a very weird issue when our Swing application is writing a file to the users local machine via Windows Remote Desktop (the application is hosted on a terminal server...

c# run local program via RDP using PsExec

Is there a way to run local program via rdp Something like that: Process p = new Process(); p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardOutput = true; ...

SVN Checkout over RDP to local drive

if i want to ckeckout a SVN repo over a RDP-Connection to the local Drive it fails. I got the Message: Can't move '\tsclient\C....svn\tmp\svn-D11963A0'...

How to access the disks mapped through RDP from a service?

RDP has this fantastic ability to let export disks from remote user's workstation to the RDP server. As far as I can tell, it is not just a windows explorer trick, but all kinds of programs can...

Error message when looking for directory in php when run in powershell

First please excuse any grammar or spelling mistakes. English is my second language and it's 2AM at the time of writing this. I was trying to create a php script that can be executed in...

robocopying files from remote machine works in powershell prompt but the same doesn't work from task scheduler

I am tring to copy files from remote through RDP session (\tsclient\C) using powershell code (robocopy). It works from powershell prompt, but same wont work when I automate through task...

RDS drive redirection does not work

I have a virtual machine on Azure which I connect to through a RDP session. I want to redirect my local C: drive to this VM but, when I connect through RDP I cannot see my local drive. When I try...

Running external application from RDP session using Process

I have 2 apps. One of which is installed on a client computer and actually does something (adds data to a local quickbooks company file) and the other is designed to be run from a remote computer...

Restrict OpenFileDialog to access only network files

I want to customize my OpenFileDialog a bit so that it can only access one of my network PC (tsclient) and not access my local drives and downloads folder. I have no idea to achieve this. So, i am...

Batch File Range

Thanks in advanced for your help! I have a batch file question for you guys. So we keep up with one of our client's backups. They're located over 200 miles away from us. We bring their backups...

Add logon program for TSclients in environment tab user adsi in Powershell

Hi I'm tring to set a logon program parameter for remote clients that will be created using a powershell script. As shown below I managed to get a logon script to set in the profile tab...

How to communicate between internal Git repo behind firewall with external machine?

Here's my situation: I have an upstream repo which is behind a corporate firewall. But the development machine is outside the firewall. How can I communicate between them? I am able to access...

how do you include modified 3rd party modules when writing setup.py files?

I wrote a standalone script depends on a few modified modules. the directory structure looks like this: client setup.py tsclient __init__.py tsup utils.py mutagen ...

Load embedded H2 database to memory

I'm writing a portable application with embedded H2 database. So, there is 2 case: App is running from writeable storage (flash, hdd etc.) It is default case. I use db file and store data into...

Saving a text file from Citrix session to client machine

I've a requirement to save a text file from the citrix session to the client machine. So the published machine runs an executable and that executable 'knows' where the client machine is and can...

Signed pdf using timestamp itextSharp 5.x

I need to add the ocsp, it looks like version 5.x and different from version 4.x In version 4 asks to send a date in this new asks to send a byte type what data these would send byte[] ocsp =...

Run batch file from Windows Task Scheduler regardless of user logged in

I have a batch file which will copy certain folders from an absolute path over as a backup. I currently need to make it so every midnight the batch file will be executed - and that's during the...

Error building Visual Studio 2010 Silverlight 4 projects on Windows 7 with XP Mode

I installed Visual Studio 2010 Beta 2 in an XP Mode VM on Windows 7. Then I created a trivial Silverlight 4 (beta) project and tried to build it. I get the following error: > Error 1 The...

Utilizing IHeaderHandler with wcf

I have a rather outdated assembly that I'm using to communicate via SOAP with software my company writes. As it stands right now, getting the assembly updated is not an option, so please don't...

How do I create a loop in a file path?

UPDATE Thanks for the suggestions. This is how for I got so far, but I still don't find how I can get the loop to work within the file path name. setwd("//tsclient/C/Users/xxx") folders...

net use * /delete /y doesn't resolve error "New-PSDrive : Multiple connections to a server ...."

This New-PSDrive command New-PSDrive -Name Z -PSProvider FileSystem -Root \\$j\share -Credential $credentials -ErrorAction Stop Causes the error New-PSDrive : Multiple connections to a server...

Directory.Exists returns false after FileSystemWatcher ArgumentException

Local Drive C is shared in Remote Desktop Connection. I iterate folders in C\ Program files successfully. But if I add FileSystemWatcher to the child folders of Program Files, some of them throw...

Error trying to copy/paste large file through remote connection

I am trying to copy a large file (about 4gb) from my local PC and paste it on a cloud PC through a remote connection. I get an unpecified error whenever I try to copy paste it the normal way, and...

CFileDialog shows different contents according to Windows versions

I tried to show only the drives shared with Remote Desktop in a file selection dialog. Below is what I want to show: (Image) Windows 10 - Only the shared drives are shown. But the list of the...

How to retrieve the path to a client machine Special Folders running RemoteApp as a filepath string?

// Set default workspace directory string initialDirectoryString = @"C:\work\"; // Check if remote session, and get the local drive...

How to escape {} in awk?

I have many of the input lines as seen below, where I would like to end up with an output similar to this host tsclient010.tsclient { option host-name "tsclient010.tsclient"; ...

using FreeRDP disk redirection

I'm on an Ubuntu machine (client) RDP'ing into another Ubuntu machine (server). I'd like to access my client's home dir from within my server session. From what I can tell, this is done with "disk...

Initialize databases in ASP.NET Core app

In my ASP.NET Core app, I use quite a few Azure services e.g. Table Storage, DocumentDb, etc. As part of the initialization routine, I need to make sure these databases exist and if not, I need to...

How do I install X4R package on R?

I am trying to install X4R package to load a cube in R. There is a package with limited support to do this called 'X4R'. It can be found...