Skip to main content
1-Visitor
March 25, 2013
Question

Windchill - Login and Logout Easily

  • March 25, 2013
  • 18 replies
  • 47215 views

This is a neat trick I use when developing.

In Windchill it is difficult to 'logout' and then login as another user. To get around this create two browser bookmarks with url format as:

http://username1:password1@windchill-server.ptcnet.ptc.com/Windchill/app/

http://username2:password2@windchill-server.ptcnet.ptc.com/Windchill/app/

This adds the username and password into the http request, so the user is not prompted. This has the added benefit that you can jump user easily in Windchill if you store the url as a bookmark.

This is really useful for demos!

This is an example of one of my bookmarks:

bookmark.png

18 replies

1-Visitor
May 4, 2017

Is there a way to make this work for Windchill 10.2/IE11? I've tested it, and it works in Firefox (as stated above) but the shop computers, who would be using this trick, are all using IE.

19-Tanzanite
May 4, 2017

Try this for the URL in IE:

javascript:document.execCommand("ClearAuthenticationCache", false) ;window.location.reload();

1-Visitor
May 4, 2017

i think i'm not getting what you're saying here...

where in firefox it would be: http://user:user@mywindchill_location/Windchill

in IE it would be javascript:document.execCommand("ClearAuthenticationCache", false) ;window.location.reload();http://user:user@mywindchill_location/Windchill

?

19-Tanzanite
May 5, 2017

The command that I pasted will log out and bring up the login screen for Windchill.  Nothing else should be needed.

1-Visitor
May 11, 2017

while it does that, that's not what i'm looking for. i'm hoping for a login bypass (requested by IT) for users who are looking for drawings on the system. the process above works amazingly well for firefox, but i need something for IE.

our current system gives users the ability, once logged into the computer to pull up drawings. that system is becoming unstable, and the drawings are being imported into Windchill. i need a way to allow those users who definitely aren't power users on any level to get into Windchill without having to log in. i have a profile designed that limits what they have access to, and removes the ability to get to the preferences tab. but, quoting from IT, "if there are ways for people to screw it up, they will" - i'm attempting to limit the chance of that happening.

18-Opal
May 11, 2017

Another trick if you use Internet Explorer is to use nomerge in the shortcut so you can start multiple different sessions.

For example:

"C:\Program Files\Internet Explorer\iexplore.exe" -nomerge https://windchill.server.address/Windchill

21-Topaz I
May 23, 2017

The problem with this is if you are logged in to another site then it will log you out of both.

1-Visitor
February 21, 2019

Works like a charm in CHrome!  Thanks!