Saturday, November 3, 2007

NX4 License server and Windows Vista


There hasn't been an official statement yet stating which NX version will fully support Vista, but nowadays I hear quite a few people complaining that they've just bought a laptop, and noticed that it is preconfigured with Vista instead of Windows XP. I'd run back to the computershop if I were you, but here's what you can do to make the "Unigraphics License Server" work.

Begin installing the license server from the NX4 Base installation CD. After copying files, you'll see an error saying the service could not be started. Before hitting Cancel, copy all the files in the "C:\Program Files\UGS\License Servers\UGNXFLEXlm" directory to c:\nxflexlm . Then cancel your installation, and launch a Command Line.

In a single line, enter
echo @C:\nxflexlm\lmgrd -c c:\nxflexlm\ugnx4.lic -l C:\nxflexlm\log.txt >c:\nxflexlm\nx4_server.cmd

Then add C:\nxflexlm\nx4_server.cmd to your Startup directory.

For NX5, I received no errors at all while installing both the license server and NX itself. I must remind you that this is a non-supported configuration, and you'll most probably be denied to log a call if a problem of yours cannot be duplicated on a certified system of GTAC.

This might be a workaround till the drivers for Vista gets stable and Siemens starts supporting Vista.

UPDATE: Thanks to Stian's comment, another workaround is just copying the lmgrd.exe from an NX5 installation overwriting the one in NX4. This way you'll be able to start your license server as a service.

30 comments:

Anonymous said...

If you'd like to run the NX4 as a service as usual, just copy the lmgrd.exe file supplied with NX5 and replace the one in your NX4 license setup

Hakan Sonmezler said...

Thanks, Stian.

I'll add list your workaround as well.

paulosky said...

Hello, I have tried your idea Stian. NX4 run OK but I can't open a new file and the bundle designer are desaibles. Can you help me?

Anonymous said...

Thank you so much for this trick, finally installed nx4 and now enjoying.

Anonymous said...

i still can't install the License Server after doing this, may i know what should i do next after copying the nx_server.cmd to startup?

adrianni said...

Hi,
I cannot run post builder in vista.
Managed to install NX4 ok but when I try to run postbuilder, it works fine just until after checking the license, it starts the postbuilder application and when at 2% it says "postino has stopped working" and then the program closes. Any ideas? Thanks, Adrian

Hakan Sonmezler said...

adrianni,

have you installed the updates ? I don't have a vista around, so I'm unable to verify this problem..

adrianni said...

Thanks for answering my question.
I did install the updates. My version is 4.0.3.3. Still does the same. It runs just fine in windows xp, but not in vista.
Nobody else experienced this?
Thanks, Adrian

Marta Rodríguez said...

Hi,

I have tried to install NX4 in windows vista, and the solution of stian v. klausen helps in the installation of UGNXFLEXlm, but then, when i I try to install nx4 and it asks for the license server, it doesn't find it. Can anyone help me?

I don't try the first solution, which is the startup directory?

Thank you,

Marta

adrianni said...

Same happened to me. It worked ok for the license server but then when trying to install NX4, it cannot find the license server. DISABLE WINDOWS FIREWALL just for the installation, and then enable again.
Adrian

adrianni said...

Dear Marta,
Let me know if you are able to run nx 4 postbuilder in vista, please.
Thanks, Adrian

Marta Rodríguez said...

Hello adrianni!

Finally I was able to run NX4 in vista. I had another computer with Windows XP and NX4 in the same LAN and I told to the vista installation to use de XP license server, and it accepts.
Then when I finished de installation I changed the UGII_LICENSE_FILE enviornment variable to the Vista license server, and now it works ok.

Thank you very much,
If I can help you tell me, my email
mrm.arrasate@gmail.com

Bye,
Marta

Anonymous said...

I'm trying to install NX4 on a vista os pc. I'm getting the an Error 1920. I copied the files into the new directory c:\nxflexlm and inseted

echo @C:\nxflexlm\lmgrd -c c:\nxflexlm\ugnx4.lic -l C:\nxflexlm\log.txt >c:\nxflexlm\nx4_server.cmd

to the command prompt. I guess my question is where is the startup directory? Is it the startup file under programs on the start menu? Is so, I copy it there and no luck. :(

Anil Paul Baby said...

Windows Vista installation UG NX 4.0
Many people would like to address in Vista the use of UG NX 4, I now offer its experience possible installation method.
Windows Vista in UG NX 4.0 installation method
1: good to your ugnx4.0 certificate file Save to Z directory of backup. (Computer name means: computer> attribute> change settings> Computer)
Second: the above download NX4 Software to extract the directory to your hard drive, access to the directory,

Operation launch, to enter the main installation interface.

3: installation of the second step "Install NX", and choose custom install, select all the modules, and then down, there will be language selection screen, select the Simplified Chinese (simplified Chinese version), prompted by the installation step by step until the end. (It's best not to change the installation directory path). Installation process necessarily to shut down the firewall and antivirus software.
4: as an administrator to install the first step "Install lisence server", during the installation process will prompt you to look for license document, click NEXT will be an error, then use the browser (Browse) to find stored on your hard drive of the document ugnx4.lic . When the progress of the half, the failure will be prompted to install, you can withdraw from the installation, and come to an end.
5: Open your installation Division, see UGS folder have two folders, one is NX4.0 folder, and the other is License Servers folder, if there is two folders, that the installation is correct .
6: to X: \ NX4 Software \ NX4 Software \ nxflexlm040 \ program files \ UGS \ License Servers \ UGNXFLEXlm open UGNXFLEXLM, the inside of all the documents copied to the installation directory Y under the UGS → License Servers → UGNXFLEXlm folder.
7: Open UGS → License Servers → UGNXFLEXlm. Run as administrator lmtools.exe (can also run it from a procedural bar (begin> UGS NX 4.0, folder inside to find) (Figure out)
Click Config Services manual set.
Service: FLEXlm Service 1 into Service: Unigraphics License Server [uglmd].
Path to the lmgrd.exe file: Y: \ UGS \ License Servers \ UGNXFLEXlm \ lmgrd.exe.
Path to the lmgrd file: Z: \ ugs5.0.lic
Path to the debug log file: can not set up.

[] Reference lmtools.exe
Upon completion of these settings, click the Save Service button to be saved. Restart.
8: Be sure to restart, otherwise there will be "-15 error."
9: running NX 4.0 ago, we have to run lmtools.exe, launched the service program (in the start / stop / reread column). You can run it from a procedural bar (begin> UGS NX 4.0, inside to find lmtools.exe); can also access
Y: UGS → License Servers → UGNXFLEXlm. Click lmtools server: Click on Start / Stop / Rerad hand-set. Start Server and interactive Stop Server button until the following dialog appears Server Start Successful. To.
(10): Open UGS → NX4.0 → UGII → find ugraf icon, the icon sent to the desktop as a shortcut to the desktop icon changed its name to NX4.0.
11: Click on the icon can NX4.0 unimpeded operation NX4.0 software.
12:: Click Start → all the procedures → NX4.0 delete the folder. It should be noted that: (1) as an administrator for installation. (2) have a firewall, it is necessary to unblock.

this working but you need to start lm tools start/stop/reread tap >start services at every every boot after vista

this i collect from this link (transalated):-http://72.14.235.104/translate_c?hl=en&sl=zh-CN&u=http://yidao3936.spaces.live.com/blog/cns!CB542476219169A9!315.entry%3F_c%3DBlogPart&prev=/search%3Fq%3Dugs%2Bnx%2B4.0%2BUnigraphics%2BLicense%2BServer%2B%2Bvista%26start%3D20%26hl%3Den%26sa%3DN&usg=ALkJrhhVuttBoAr6G17zo3iBsEAg0e937g

Anonymous said...

Hi There,

I was hoping someone would be able to give me i guess a dummies guide to install NX 4 onto windows Vista. I have tried the actions posted but i can't see where i am going wrong :-( Please can somebody help me!?!?! I would really appreciate it, thanks

Anonymous said...

hi i m quite new in this . could anybody send me details of the steps for the complete installation pls ? cheers
stamtas@mail.gr

Anonymous said...

next good simple thing is download license server manager http://www.globes.com/support/fnp_utilities_download.htm
and install choosen lmadmin.
Sorry, my english bad but i think that it's good

Anonymous said...

anyone try with windows 7?

Anonymous said...

Hi,
I cannot run post builder in vista.
Managed to install NX5 ok but when I try to run postbuilder, it works fine just until after checking the license, it starts the postbuilder application and when at 2% it says "postino has stopped working" and then the program closes. Any ideas?

Pepe GomeX said...

hi to every one... i coudnt finish the installation.
Can somebody help me with detailed information about it ? thanks.

Unknown said...

if any one tried wit windows 7..

is there any idea to install UGNX 4 in windows 7?

Unknown said...

Hello frnds .. anyone tried wit windows 7 ulitimate
i tried, but error 1920..
wait for genious trick!

FREE DOWNLOADS said...

I worked even in windows 7 thanks a lot ........

Anonymous said...

If you happen to have NX4 installed on a current machine you can copy your entire license server folder from a XP machine and paste it in a parent folder (UGS), adjust the paths in lmtools>config services to point at the correct three files then install nx4 using the disks. make sure your environment variables are set correctly and you shouldn't have a problem.

Anonymous said...

To clarify, for those of you with Windows 7 and NX4, there are 2 problems:

1. The license server is looking for c:\flexlm\license.dat

2. The license server runs as an application, not a background service.

Note that the "license.dat" file in c:\flexlm is simply your NX4 license in a text file renamed to "license.dat" (make sure that it has your computer's name as the host name). The author's article here has a script that auto-runs the license server and points it to the correct license file.

However, the license programs run as windows, not in the background, so they're popped open on your computer 24/7. Instead I just use a shortcut to launch them, but before you do that, you have to create the flexlm folder and license.dat file manually. So here are the instructions:

NX4 License Server config for Windows 7:

1. Create a folder in C:\ called "flexlm"

2. Open your NX4 license file and save it to the "C:\flexlm" folder as "license.dat" (if you put the full name with the extension in quotes, it will save it as a .dat file instead of a .lic or .txt in Notepad).

3. Create a shortcut to your license server on the desktop (lmgrd.exe)

Before you run NX4, just double-click the shortcut to lmgrd.exe. This is the license manager program and it launches another application called ugsmld.exe, which is the actual licensing program. So lmgrd is the manager, which makes sure that the licensing software ugsmld is running.

So when you run lmgrd.exe, it will launch 2 DOS console windows (the black screens with white text) which you need to run and keep open before you run the NX4 program. It works fine on Windows 7 Ultimate 64-bit, just remember that it installs the UGS folder in the Program Files (x86) directory, not the regular Program Files location.

TIBERIU said...

Hy there!
My name is Tiberiu and i have ben tring to instal UG NX4 on my Vista without succes. I have saw tha a few have succeded. Can anybody help me.
I must say that i'm a bigginer in programing and instaling things on PC!
Thank you in advance!

Anonymous said...

I was able to install UGN NX 4.0 with your instructions, but Iam unable to cofigure ploters in Printer Administration. When I add a printer in Printer Administration I get no pripters under plot command. Does anyone know what to do?

Anonymous said...

Guys, do yourself a favour and use use VirtualPC (or vmware or any virtualizatino solution) that comes for free in Windows 7 profssional or above, it's a virtual windows XP instance and inside that you can install nx4 or 5 no problem. no flex server issues.

I hope this saves your time as it took m 8 hours to figure this out. :)

Anonymous said...

Guys, do yourself a favour and use use VirtualPC (or vmware or any virtualizatino solution) that comes for free in Windows 7 profssional or above, it's a virtual windows XP instance and inside that you can install nx4 or 5 no problem. no flex server issues.

I hope this saves your time as it took m 8 hours to figure this out. :)

ed pills online said...

Hello, i think that i saw you visited my site thus i came to “return the favor”.I am trying to find things to improve my site!I suppose its ok to use a few of your ideas!!