Link to home
Start Free TrialLog in
Avatar of ROBERTO PAREJA
ROBERTO PAREJAFlag for United States of America

asked on

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
Avatar of Rich Weissler
Rich Weissler

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.
Avatar of ROBERTO PAREJA

ASKER

All servers have the  "Bitdefender for Servers" installed with a daily automatic full scan. Nothing has been reported.
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
Thanks Razmus,

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

it does execute fine.
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.
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
ASKER CERTIFIED SOLUTION
Avatar of Rich Weissler
Rich Weissler

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Right on the money Razmus!

Thanks for your help.