x404.co.uk
http://www.x404.co.uk/forum/

Windows hints and tips
http://www.x404.co.uk/forum/viewtopic.php?f=4&t=8113
Page 1 of 1

Author:  John_Vella [ Thu May 06, 2010 2:51 pm ]
Post subject:  Windows hints and tips

I learnt something new today and thought it would be a good excuse to get you all to share your favourite Windows hints and tips.

Here's mine, (and this is all on Windows XP SP3):

I log onto my work computer using a standard account, but have to perform lots of tasks using an admin account. Rather than logging off and on again I had a batch file that opened up an explorer shell as my admin account.

Code:
runas /profile /user:domain\admin-username "C:\Program Files\Internet Explorer\IEXPLORE.EXE -e ::{D20EA4E1-3957-11d2-A40B-0C5020524153}


This worked fine when Internet Explorer 6 was installed but I was recently upgraded to IE8 and it stopped working.

I finally got it to work again by using the following batch file:

Code:
runas /u:domain\admin-username "explorer.exe /separate, C:\pathname here"


Please note that the path is optional and if you don't need to specify a startup folder just remove everything after and including the comma at the end of the word seperate, but do include the speech marks at the very end.

Hope this helps,

John.

Author:  saspro [ Thu May 06, 2010 2:54 pm ]
Post subject:  Re: Windows hints and tips

Right click "run as". Type in admin details.

Author:  John_Vella [ Thu May 06, 2010 2:58 pm ]
Post subject:  Re: Windows hints and tips

saspro wrote:
Right click "run as". Type in admin details.


You're talking about C:\Windows\Explorer.exe?

I had tried that but nothing happened. I'm assuming it has something to do with being run in a seperate window?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/