Solved

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

Posted on 2016-11-18
9
35 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
  • 4
  • 3
  • 2
9 Comments
 
LVL 93

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 54

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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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 93

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 54

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 93

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

An article on effective troubleshooting
In this increasingly digital world, security hacks are no longer just a threat, but a reality. As we've witnessed with Target's big identity hack 2013, Heartbleed in 2015, and now Cloudbleed, companies and their leaders need to prepare for the unthi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

839 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