Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8519045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:08:27+00:00 2026-06-11T06:08:27+00:00

On my main pc (Win 7 64bit) basic windows commands like ping and ipconfig

  • 0

On my main pc (Win 7 64bit) basic windows commands like ping and ipconfig suddenly need admin rights.

If I start a normal command-line window, these commands are not found anymore (“X is not recognized as an internal or external command, operable program or batch file.”)

If I start the command-line window with “Run as Administrator” everything works as expected.

On my second PC (Win 7 32 bit) I do not need admin rights.
And I strongly believe that I did not need admin rights on my main pc a couple of weeks ago. Something must have changed, thus I think there must be some (registry) switch or something.

any ideas? thanks a lot

[edit]

I am still the admin user – just starting cmd normally, not with “run as admin”

[edit2]

It indeed was the PATH, variable. Problem was, that Path was saved as the wrong type of string in the registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path

has to be a REG_EXPAND_SZ as explained in this thread. Path being of the wrong type of string made it unable to expand %SystemRoot%. Make sure that both your system PATH as well as your user PATH environment variables are of type REG_EXPAND_SZ.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:08:29+00:00Added an answer on June 11, 2026 at 6:08 am

    Srart normal cmd prompt and look at output of the following commands

    set path
    dir %windir%\system32\ping.exe
    dir %windir%\syswow64\ping.exe
    dir %windir%\sysnative\ping.exe
    

    Thought, they will show you a problem. May be ping is not found by %path% or somehow…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Main OS is windows 7 64bit. Using VM player to create two vm CentOS
I am using Python 2.5 on Windows 7 (64bit). I installed pycurl-7.15.5.1 (with win
from gi.repository import Gtk #print Gtk.GTK_MAJOR_VERSION win = Gtk.Window() win.connect(delete-event, Gtk.main_quit) win.show_all() Gtk.main() That
Scenario I have a C# Win Forms App, where the Main Form contains a
Main need : Resizable widget Minor need : Wide range of Android OS, runs
In my c# win-forms application, I have changed the following line in Main() Application.Run(new
I am running Delphi 2010 on both a 64 bit windows machine (Win 7),
I recently upgraded my main computer and am now working in windows Vista. My
I have a simple problem: I have a main form in win-forms/c#. It has
I have a win forms application that contains a Web Browser control. I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.