Search | Active Topics

StartAccess Command line under terminal services Options
Posted: Monday, August 08, 2011 7:25:57 AM
Rank: New Poster
Groups: Member

Joined: 12/29/2009
Posts: 1
Location: United Kingdom
Hi, I have edited the command line to look at HKCU, instead of Local Machine, so that each terminal service user can run their own copy of the front end file located, in this example, in their My Documents folder.

/profile "Signflow" /wrkgrp "C:\Documents and Settings\All Users\Application Data\Signflow Software\Signflow\System.mdw" "C:\Documents and Settings\Administrator\My Documents\Jobmanager.accde" /runtime /excl

Rather than editing each users registry I have tried replacing 'Administrator', or 'All Users' which is the default, with '%username%' but the commoand line will not evaluate '%username%'. Any ideas please.
Posted: Wednesday, September 07, 2011 1:33:43 PM
Rank: New Poster
Groups: Member

Joined: 9/30/2009
Posts: 3
Location: United States
%username% won't work in a LNK shortcut but will in DOS. I have performed a few dozen installs with the Acc2010 installer on Citrix and RDP servers.
I prefer to use a Bat file to launch the app for the users.
Here is an example of a typical bat file I would use:

if exist "C:\appname\users\%username%" goto :Startup
md "C:\appname\users\%username%"
copy "C:\appname\appname.accde" "C:\appname\users\%username%\appname.accde"

"C:\Program Files\Common Files\Sagekey Software\StartAccess3_2010.exe" /runtime /excl "C:\appname\users\%username%\appname.accde"

It creates a user-specific directory then copies a fresh copy of the front-end file in there then launches it. It will work even if you store the rest of the command line in the registry.
Users browsing this topic

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Forum theme created by Colin Olson, SageKey Software.
Powered by Yet Another version (NET v4.0) - 3/29/2008
Copyright © 2003-2008 Yet Another All rights reserved.
This page was generated in 0.019 seconds.