Avatar of Theo
 asked on

Cannot run Power Shell

My website has recently gotten a new IP-address (shared host), but though the rest of the world can see it, I cannot, even after 48 hours. I have flushed my DNS, but to no avail. The problem comes in all browsers. Flushed my cache as well, but the problem remains.

While trying I also found that I cannot start the power shell either normally or as admin. Nothing happens when I click on them (The command prompt itself comes up outside the power menu). I have added this key: Windows Registry Editor Version 5.00
but again no use. I am on W10

Avatar of undefined
Last Comment

8/22/2022 - Mon

what's the your domain name and what's the link to your website?
is the website working well by visiting the IP address directly?
Michael B. Smith

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thank you gentlemen.
@BBAO: The website is at theorichel.nl . I can reach it with my mobile allright, but not with my pc, so I think it is a local problem.
@Michael Smith: Yes in a command prompt I get the powershell started, though I do not know how to do that as an administrator.
Michael B. Smith

You right-click on cmd.exe and "run as administrator". Then, when you enter powershell.exe, it's also an elevated PowerShell session.

Did you check the contents of the hosts file?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes


I can only get into the Powershell through the Command Prompt and do not know how to do that as an Admin. The right clicking you mention is a menu thing and doesnt work here. The menu appears, but the Shell never opens, either the Normal or or the Admin one.
By the way, when I am in the Command prompt and try to do 'net stop dnscache' I get the message that it is invalid. (And I want to stop the DNS to reach my site.
Michael B. Smith

You can't stop dnscache, you can only flush it ("ipconfig /flush").

Is your SITE running on your Windows 10 computer? Or on a server?

Did you look at the contents of the hosts file?

No my site is running on a shared host.
Meanwhile I have opened my hosts-file (not in the command prompt but in regular windows.)  I can see that the IP-address is wrong but I cannot change it for lack of permission. And though I can open PowerShell in the Command Prompt I do not know how to do that as admin.. The elevated Powershell is available in the menu, but clicking on it has no effect.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

When I check the permission for that hosts file, I see that I am in Full Control, but yet..
Michael B. Smith

You need to log in as an administrative user or get an administrative user to help you. I'm sorry, but I can't tell you how to work around your local security configuration.

I understand, I'll make another question directed at security people
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.

I can open PowerShell now, though still not as an administrator. To solve the original problem: my website could not be reached due to IP-change, the recommendation to edit the hosts-file was correct, though my attempts there were plagued by the permissions problem. I was denied access, but when I came back later, the hosts file was changed nevertheless and works now allright. For the remaining permissions problem I have opened a new Question. Michael thanks.