DLL ERROR

I have 11 Windows 2003 R2 servers that I need to sync the time with another Windows 2003 R2 internal server. I found that I was supposed to run the following commands :
net time /setsntp:192.168.0.111
net time /set
Net stop w32time
Net start w32time

No problem at all on 7 of those servers, but there are 4 of those that when trying to run the first command:
net time /setsntp:192.168.0.111
I am receiving the same following error on all those (error screenshot attached):

YOU ARE ATTEMPTING TO OPEN A FILE OF TYPE 'APPLICATION EXTENSION' (.DLL)
THESE FILES ARE USED BY THE OPERATING SYSTEM AND VARIOUS PROGRAMS. EDITING OR MODIFYING THEM COULD DAMAGE YOUR SYSTEM.
-OPEN WITH     -CANCEL

I am guessing that the association of DLL files are corrupted, but haven't found a procedure to correct the situation.

Any help appreciated,
Roberto.
Error.jpg
ROBERTO PAREJAIT ManagerAsked:
Who is Participating?
 
Rich WeisslerConnect With a Mentor Professional Troublemaker^h^h^h^h^hshooterCommented:
I apologize both for the delay, and taking you to the solution the long way.  :-(
(I miss being able to see which questions are waiting on me to respond back.)

Open System properties (one way is Control Panel, System), advanced tab, Environment Variables button -- In system variables, go to "PATHEXT"... and edit it.
Take .DLL out of that list... (and trim any appropriate semicolons...)
0
 
Rich WeisslerProfessional Troublemaker^h^h^h^h^hshooterCommented:
That's a relatively odd error, and rather unexpected.  Just as a precaution, consider running an anti-malware program.  It _might_ not turn anything up, but this is suspicious enough that it might be worth checking.
0
 
ROBERTO PAREJAIT ManagerAuthor Commented:
All servers have the  "Bitdefender for Servers" installed with a daily automatic full scan. Nothing has been reported.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
Rich WeisslerProfessional Troublemaker^h^h^h^h^hshooterCommented:
On those servers, do you receive the same message if you specify the full path to the executable?

i.e. c:\windows\system32\net.exe time /setsntp:192.168.0.111
0
 
ROBERTO PAREJAIT ManagerAuthor Commented:
Thanks Razmus,

If I run the full command
c:\windows\system32\net.exe time /querysntp

it does execute fine.
0
 
Rich WeisslerProfessional Troublemaker^h^h^h^h^hshooterCommented:
If you still get the error when you run it from other directories, look through your path to see if some other program is attempting to run in place of your normal net.exe command.
0
 
ROBERTO PAREJAIT ManagerAuthor Commented:
Thanks Razmus,

Seems we are very close in solving these, I really appreciate it.
I am attaching a screenshot of the search results.

I ran the command PATH on some servers (a couple that NET TIME is running fine and a couple with the errors), and they all seem to have the same directories defined.
net.jpg
0
 
ROBERTO PAREJAIT ManagerAuthor Commented:
Right on the money Razmus!

Thanks for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.