LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview runtime - slow pc start up

Scratch the above, we've made it much simpeler. Also this is compatible for 32-bit and 64-bit:

 

:: STOP AND DISABLE nimDNSResponder Service
NET STOP /Y nimDNSResponder >NUL 2>&1
SC CONFIG nimDNSResponder START= DISABLED >NUL 2>&1

 

Easy and fast!

Message 51 of 55
(1,712 Views)

Hm, just stopping the service doesn't quite cut it.

Tried it twice here now (damn that install takes long)

Fixxing it now so we will have a decent installer soon!

0 Kudos
Message 52 of 55
(1,692 Views)

Here, this should work for 32 and 64

 

 

NET STOP /Y NINetworkDiscovery >NUL 2>&1
SC CONFIG NINetworkDiscovery START= DISABLED >NUL 2>&1

NET STOP /Y niLXIDiscovery >NUL 2>&1
SC CONFIG niLXIDiscovery START= DISABLED >NUL 2>&1

NET STOP /Y niDNSResponder >NUL 2>&1
SC CONFIG niDNSResponder START= DISABLED >NUL 2>&1


"C:\Program Files\National Instruments\Shared\mDNS Responder\nimdnsNSPTool.exe" -remove "981DF75B-898E-4c0c-B01C-5F181F817889" >NUL 2>&1
"C:\Program Files(x86)\National Instruments\Shared\mDNS Responder\nimdnsNSPTool.exe" -remove "981DF75B-898E-4c0c-B01C-5F181F817889" >NUL 2>&1

0 Kudos
Message 53 of 55
(1,683 Views)

Darn, sorry, typo in service name:

 

This is tested and working now!

 

:: STOP AND DISABLE nimDNSResponder Services

NET STOP /Y NINetworkDiscovery >NUL 2>&1
SC CONFIG NINetworkDiscovery START= DISABLED >NUL 2>&1

NET STOP /Y niLXIDiscovery >NUL 2>&1
SC CONFIG niLXIDiscovery START= DISABLED >NUL 2>&1

NET STOP /Y nimDNSResponder >NUL 2>&1
SC CONFIG nimDNSResponder START= DISABLED >NUL 2>&1


:: REMOVE nimDNSResponder (two instances for 64-bit systems)

"C:\Program Files\National Instruments\Shared\mDNS Responder\nimdnsNSPTool.exe" -remove "981DF75B-898E-4c0c-B01C-5F181F817889" >NUL 2>&1
IF EXIST "%PROGRAMFILES(X86)%" "C:\Program Files (x86)\National Instruments\Shared\mDNS Responder\nimdnsNSPTool.exe" -remove "981DF75B-898E-4c0c-B01C-5F181F817889"
>NUL 2>&1

 

 

Message 54 of 55
(1,640 Views)

I have the same issue.  Putting the following tasks into manual gets around the problem, but I don't want to have to do this cause we run lots of computers, and this is a pain for IT to implement everytime we install the run time.

NI License Server

NI LXI Discovery Service

NI mDNS Responder Service - Stop if running

NI Network Discovery

 

How do I fix it correctly without having to add the remove registry lines?  I am using 2015 SP1 now, had hoped this would be fixed by NI by this time.  It was happening with labview 2012.  Can I put the remove registry lines in the project somewhere so they automatically occur when the build is made?

Edit: I found the link above on page 5 that shows you how to add the bat file to a build pretty much does it. Still think this shouldn't be necessary to add, but at least it can be done.

Thanks in advance, Andre

 

Andre

0 Kudos
Message 55 of 55
(1,518 Views)