Solved

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

Posted on 2016-11-18
9
29 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 92

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 53

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
 
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
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 
LVL 92

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 53

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 92

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
Three simple tips to quickly and efficiently back up and protect the contents of your PC and Mac®.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

910 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now