by g0yjs0 » Wed May 22, 2013 2:29 pm
I've been having trouble trying to set this up. I was wondering if it is somehow possible to tweak mRemote in the following way:
Where I work, we have regular user accounts for everyday tasks and also admin accounts for support tasks. If my regular account is "myacct", then my admin account is "admmyacct". Everyone's accounts are setup similarly.
mRemoteNG works great for remote login. What I'm trying to do is setup an external app to use the "Offer Remote Assistance" feature of WinXP/Win7. What I need to be able to do is use runas with the /user switch in such a way that it echoes the Windows %username% variable. The problem is that mRemoteNG uses %username% for its own info for that single entry.
Is there any way to echo out the Windows %username% environment variable? Or, possibly, to disable the mRemoteNG %username% variable for this instance?
Here's an example:
Filename: runas.exe
Arguments: /user:mydomain\adm%username% "cmd.exe /K msra.exe /offerRA %Hostname%"
Could mRemote offer a way to choose the format of variables; i.e., %username% vs. #username# or ^username^, so that both mRemoteNG and Windows environment variables would be available for External Apps' use?
That way, I could have a central connections file on the network drive, that would stay in sync for everyone's use. And, I wouldn't have to enter different user names in the mRemoteNG username field for each of the 200+ workstations we support.