# Intranet WebSites don't accept privilaged account credentials

**URL:** <https://forums.powershell.org/t/intranet-websites-dont-accept-privilaged-account-credentials/6235>\
**Category:** PowerShell Help\
**Created:** [April 15, 2016, 9:39pm UTC](https://forums.powershell.org/t/intranet-websites-dont-accept-privilaged-account-credentials/6235 "2016-04-15T21:39:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy-smith](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@andy-smith](https://forums.powershell.org/u/andy-smith)\
**Post date:** [April 15, 2016, 9:39pm UTC](https://forums.powershell.org/t/intranet-websites-dont-accept-privilaged-account-credentials/6235/1 "2016-04-15T21:39:31Z")

</div>

Afternoon all

I’m writing a tool in powershell for desktop support users.

This too need to be run with thier privilaged account. Because of this when i add buttons that link to intranet website it asks for thier normal account details.

Is there anyway for me to tell powershell so use thier existing domain account rather that the privilaged account that the tool is running. Without a login promt.

Regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/powershell/original/1X/385e4f9fe133561ad30a814262fe0e0ae6bc3ef0.png) [@system](https://forums.powershell.org/u/system)\
**Post date:** [April 15, 2016, 9:49pm UTC](https://forums.powershell.org/t/intranet-websites-dont-accept-privilaged-account-credentials/6235/2 "2016-04-15T21:49:35Z")

</div>

Not that I know of, unless you save those credentials somewhere (which is probably not worth the security risk).

---

<div class="post-metadata">

**Author:** ![andy-smith](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@andy-smith](https://forums.powershell.org/u/andy-smith)\
**Post date:** [April 15, 2016, 9:56pm UTC](https://forums.powershell.org/t/intranet-websites-dont-accept-privilaged-account-credentials/6235/3 "2016-04-15T21:56:27Z")

</div>

So thier admin account have the same password and thier usernames are the same format but with \_adm at the end.

Would there be a way to get PS to remove the \_adm from the username before using the weblink?

I know i’m asking alot

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/powershell/original/1X/385e4f9fe133561ad30a814262fe0e0ae6bc3ef0.png) [@system](https://forums.powershell.org/u/system)\
**Post date:** [April 15, 2016, 10:16pm UTC](https://forums.powershell.org/t/intranet-websites-dont-accept-privilaged-account-credentials/6235/4 "2016-04-15T22:16:26Z")

</div>

Not that I know of, sorry.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:41pm UTC](https://forums.powershell.org/t/intranet-websites-dont-accept-privilaged-account-credentials/6235/5 "2024-05-16T20:41:36Z")

</div>


