Skip to main content
1-Visitor
Mar 25, 2013 11:52 AM UTC
Question

Windchill - Login and Logout Easily

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 5:45 PM UTC

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.

Translate
19-Tanzanite
May 4, 2017 5:58 PM UTC

Try this for the URL in IE:

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

Translate
1-Visitor
May 4, 2017 7:00 PM UTC

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

?

Translate
19-Tanzanite
May 5, 2017 12:30 PM UTC

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

Translate
1-Visitor
May 11, 2017 4:34 PM UTC

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.

Translate
18-Opal
May 11, 2017 4:55 PM UTC

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

Translate
21-Topaz I
May 23, 2017 3:09 PM UTC

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

Translate
1-Visitor
Feb 21, 2019 7:07 PM UTC

Works like a charm in CHrome!  Thanks!

Translate