Installation & Licensing

Reply
*montagne, michael
Message 1 of 5 (198 Views)

ACADSERVER

198 Views, 4 Replies
06-12-2000 08:56 AM
I'm trying to set the ACADSERVER environment variable in a login script.
The server is NT4.0 as are the workstations. I'm troubled with the syntax.
I can enter SET ACADSERVER BOB in a DOS window and it apears to work, but
when I check in control Panel it didn't. What is the proper syntax and can
this be set in a login script? Why would it not work?

-mjm
*Griffith, Paul
Message 2 of 5 (198 Views)

Re: ACADSERVER

06-12-2000 08:56 AM in reply to: *montagne, michael
michael montagne wrote:
>
> I'm trying to set the ACADSERVER environment variable in a login script.
> The server is NT4.0 as are the workstations. I'm troubled with the syntax.
> I can enter SET ACADSERVER BOB in a DOS window and it apears to work, but
> when I check in control Panel it didn't. What is the proper syntax and can
> this be set in a login script? Why would it not work?
>
> -mjm

Why don't you set the variable in the control panel. If my memory serves
me right, any variables you change/set in a CMD session only exists for
that session, and any process that is started from session.

--
Paul Griffith
*Diercks, Skip
Message 3 of 5 (198 Views)

Re: ACADSERVER

06-12-2000 11:28 AM in reply to: *montagne, michael
Michael,

    In NT, the variables are saved in the registry.  I
havn't played with the creation of .reg files much, and the syntax necessary to
manipulate the registry using them.  However, the registry is where you
need to make the change.  The .reg file needed to make the change would
look something like this, I think

REGEDIT4

 


color=#ff0000>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment]
"acadserver"="servername;servername"

 

everything betweeen the brackets on the HKEY
must be on one line.  There is a space between Session and
Manager.

good luck, Hope this helps.

 

Skip

 

michael montagne wrote in
message ...
>I'm trying to set the
ACADSERVER environment variable in a login script.
>The server is NT4.0 as
are the workstations.  I'm troubled with the syntax.
>I can enter SET
ACADSERVER BOB in a DOS window and it apears to work, but
>when I check in
control Panel it didn't.  What is the proper syntax and can
>this be
set in a login script?  Why would it not
work?
>
>-mjm
>
*montagne, michael
Message 4 of 5 (198 Views)

Re:

06-12-2000 11:48 AM in reply to: *montagne, michael
Thank you. That is the answer I was looking for.  You see
I can't go to every station, I need to run it in a login script.  One thing
that needs to be resolved though.  If I just run this file, it gives me a
dialogue at the end.  How do I make it run quietly?

 

-mjm

 


style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">

Michael,

    In NT, the variables are saved in the registry. 
I havn't played with the creation of .reg files much, and the syntax necessary
to manipulate the registry using them.  However, the registry is where
you need to make the change.  The .reg file needed to make the change
would look something like this, I think

REGEDIT4

 


color=#ff0000>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment]
"acadserver"="servername;servername"

 

everything betweeen the brackets on the HKEY
must be on one line.  There is a space between Session and
Manager.

good luck, Hope this helps.

 

Skip

 

michael montagne wrote in
message ...
>I'm trying to set the
ACADSERVER environment variable in a login script.
>The server is NT4.0
as are the workstations.  I'm troubled with the syntax.
>I can
enter SET ACADSERVER BOB in a DOS window and it apears to work,
but
>when I check in control Panel it didn't.  What is the proper
syntax and can
>this be set in a login script?  Why would it not
work?
>
>-mjm
>
*montagne, michael
Message 5 of 5 (198 Views)

Re:

06-12-2000 11:58 AM in reply to: *montagne, michael
Got it:  Place "regedit /s regfilename.reg" in a login
script .

 

thanks for your help


style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">

Thank you. That is the answer I was looking for.  You
see I can't go to every station, I need to run it in a login script.  One
thing that needs to be resolved though.  If I just run this file, it
gives me a dialogue at the end.  How do I make it run
quietly?

 

-mjm

 


style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">

Michael,

    In NT, the variables are saved in the
registry.  I havn't played with the creation of .reg files much, and
the syntax necessary to manipulate the registry using them.  However,
the registry is where you need to make the change.  The .reg file
needed to make the change would look something like this, I think

REGEDIT4

 


color=#ff0000>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment]
"acadserver"="servername;servername"

 

everything betweeen the brackets on the HKEY
must be on one line.  There is a space between Session and
Manager.

good luck, Hope this helps.

 

Skip

 

michael montagne wrote in
message ...
>I'm trying to set the
ACADSERVER environment variable in a login script.
>The server is
NT4.0 as are the workstations.  I'm troubled with the syntax.
>I
can enter SET ACADSERVER BOB in a DOS window and it apears to work,
but
>when I check in control Panel it didn't.  What is the proper
syntax and can
>this be set in a login script?  Why would it not
work?
>
>-mjm
>

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Up & Ready Blog

Boldly Install, Configure and Deploy Autodesk Software.

AutodeskHelp Blog

Your one-stop shop for the latest solutions, breaking news, and behind the scenes access to the world of Autodesk support.

Connect with Us

Twitter

Pinterest

Blog

Youtube