Solved

Missing C:\Windows\system32 in Path but everything is working

Posted on 2016-11-18
9
43 Views
Last Modified: 2016-11-23
Lately around the office I am seeing that C:\Windows\system32 is missing from the path on my desktops.  I do not even see any symptoms, except when I as an admin try to run "ping, nslookup" or other command line stuff.  I have seen it 3 times now.  It is easy to fix, I just add it.

I have looked and run some virus scans, and nothing appears out of the ordinary.  Does anyone have any thoughts on this?  Should I be concerned?
0
Comment
Question by:loftyworm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 95

Assisted Solution

by:John Hurst
John Hurst earned 250 total points
ID: 41892931
Open cmd.exe with Run as Administrator and type PATH. It may be there from a command line.

The PATH does not remove entries on it own, so it not there by Command line, the try the following:

1. Run SFC /SCANNOW from an admin command prompt, shut down, start up and test.

2. Run another full virus scan followed by a scan with Malwarebytes.
0
 
LVL 55

Assisted Solution

by:McKnife
McKnife earned 250 total points
ID: 41892969
The path variable is saved to the registry. So you can easily audit the registry key to see who/what changes it and when.
The location is HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment
0
 
LVL 11

Author Comment

by:loftyworm
ID: 41893008
I have searched more of my network and found a box that I have not fixed.  I will try the sfc now....
0
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 
LVL 11

Accepted Solution

by:
loftyworm earned 0 total points
ID: 41893585
I have more information.  It appears this was a legacy security setting from an earlier time.  

I do find it extremely interesting that windows will run at all, with almost no impact with those variables removed.  Even wonder if it is actually a good idea to leave it that way
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 41893592
Thanks. It is useful to upgrade legacy software as it usually causes issues. If it is all working, leave it until you can upgrade the software.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 41894083
"It appears this was a legacy security setting from an earlier time" - can you provide details, please?
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 41894137
I find older software (older versions of new software) can cause problems. I keep things up to date and have few issues as a result.  Anti Virus and VPN are two prime examples.
0
 
LVL 11

Author Comment

by:loftyworm
ID: 41895915
What John says is true, but in this case it was deliberately removed (I believe as a security measure) by the previous admin.
0
 
LVL 11

Author Closing Comment

by:loftyworm
ID: 41898887
It was the solution
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
In this blog we highlight approaches to managed security as a service.  We also look into ConnectWise’s value in aiding MSPs’ security management and indicate why critical alerting is a necessary integration.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question