[THIN] Re: Explorer.exe shell question

  • From: "Nikolic, Aleks" <ANikolic@xxxxxxxxxxxxxxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Thu, 5 Jun 2003 14:52:12 +0200

Sergio,
I ran you .reg file but I didn't see any change at the key
[HKEY_CLASSES_ROOT\Folder\shell\open\command] It remained as it was.
I then manually switched my shell from 
[HKEY_CLASSES_ROOT\Folder\shell\open\command]
N:\Applications\MFExplorer.exe 
to
"m:\progra~1\intern~1\iexplore.exe" -nohome %L
I also changed this key at [HKEY_CLASSES_ROOT\Folder\shell\Explore\command]

Is this what you intended for me to do?
After this change, I tried again and it worked!

Any clues how changing the shell on your TS, affects the apps running on it?
(Office suite for example)

Thanks

Aleks
- - - 

-----Oorspronkelijk bericht-----
Van: Sergio Blum [mailto:sergio@xxxxxxxxxxxxxx]
Verzonden: donderdag 5 juni 2003 14:09
Aan: thin@xxxxxxxxxxxxx
Onderwerp: [THIN] Re: Explorer.exe shell question


Hello

I have solved this problem changing the explorer.exe for the iexplorer.exe =
of the Internet Explorer. ok
It's based on citrix doc CTX991230 and microsoft doc Q100328

In your solution, you could copy the IExplorer instead of Explorer.exe ...
Copy the following txt to a .reg file and execute it to change the shell =
of Windows to IExplorer.exe
obs: check up the key after execute to see if it has the correct path of =
the iexplore.exe

------------begin of .reg ----------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\explore\command]
@=3Dhex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,0=
0,46,\
  00,69,00,6c,00,65,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,6e,00,65,0=
0,\
  74,00,20,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,5c,00,69,00,6=
5,\
  00,78,00,70,00,6c,00,6f,00,72,00,65,00,2e,00,65,00,78,00,65,00,20,00,2d,0=
0,\
  6e,00,6f,00,68,00,6f,00,6d,00,65,00,20,00,25,00,4c,00,00,00

[HKEY_CLASSES_ROOT\Folder\shell\explore\ddeexec]
@=3D""

[HKEY_CLASSES_ROOT\Folder\shell\explore\ddeexec\application]
@=3D"IExplore"

[HKEY_CLASSES_ROOT\Folder\shell\open\command]
@=3Dhex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,0=
0,46,\
  00,69,00,6c,00,65,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,6e,00,65,0=
0,\
  74,00,20,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,5c,00,69,00,6=
5,\
  00,78,00,70,00,6c,00,6f,00,72,00,65,00,2e,00,65,00,78,00,65,00,20,00,2d,0=
0,\
  6e,00,6f,00,68,00,6f,00,6d,00,65,00,20,00,25,00,4c,00,00,00

[HKEY_CLASSES_ROOT\Folder\shell\open\ddeexec]
@=3D"[ViewFolder(\"%l\", %I, %S)]"

[HKEY_CLASSES_ROOT\Folder\shell\open\ddeexec\application]
@=3D"IExplore"

----------------ednl of .reg------










________________________________________=20
Sergio Adriano Blum - www.sisnema.com.br=20
MCP - MCSA - MCDBA - MCSE - CCA - CCEA
                 ByBLUM Developments

Microsoft Certified System Engineer
Microsoft Certified Database Administrator
Citrix Certified Enterprise Administrator
________________________________________

>>> ANikolic@xxxxxxxxxxxxxxxxxxx 06/05 7:14 am >>>
Hi All,

Our setup:

W2K SP2+Hotfixes
Citrix Metaframe XP 1.0 SP2 FR2
Published Applications + Desktop

We have an application in which users can browse to attached documents on =
a
network drive. When the user clicks this icon, it tries to open explorer.ex=
e
and yes opens a Desktop instead of the Explorer. when the user immediately
tries this the second time, Windows detects Explorer.exe (a desktop) is
running and opens the (file)explorer as intended.

I found an article on the Citrix site, it's this article on which my
question is based:
The article:
------------------------------------------------------------------------
I had this problem as well. Looking into this, I saw no real-world=20
solutions available. Citrix says "Tell your users not to email UNCs" =
and=20
that these are the only work-arounds available until Microsoft fixes =
their=20
code. (CTX991230)

However, they do mention in CTX991230 steps to use Internet Explorer as =
an=20
"Explorer" replacement. Even though this didn't fit our needs, we=20
modified this somewhat to come up with this solution.

We already publish a Windows Explorer and you may have to modify these=20
registry entries to tailor them to your particular environment. This=20
example has a Data drive (W:) and a copy of EXPLORER.EXE renamed to=20
PUBEXPLORER.EXE located in W:\Apps\Explore.

1. HKEY_CLASSES_ROOT\Folder\shell\explore\command
(Default) REG_EXPAND_SZ=20
W:\Apps\Explore\Pubexplore.exe /e,/idlist,%I,%L

2. HKEY_CLASSES_ROOT\Folder\shell\open\command
(Default) REG_EXPAND_SZ=20
W:\Apps\Explore\Pubexplore.exe /idlist,%I,%L

3. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\explore\command
(Default) REG_EXPAND_SZ=20
W:\Apps\Explore\Pubexplore.exe /e,/idlist,%I,%L

4. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\open\command
(Default) REG_EXPAND_SZ=20
W:\Apps\Explore\Pubexplore.exe /idlist,%I,%L

5. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows=20
NT\CurrentVersion\Terminal=20
Server\Install\Software\MICROSOFT\Office\9.0\Outlook\Prefereces
InternetBrowserPath REG_SZ=20
W:\Apps\Explore\pubexplorer.exe

6. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows=20
NT\CurrentVersion\Terminal=20
Server\Install\Software\Microsoft\office\9.0\Common\Open Find\Microsoft=20
Outlook\Settings\Locate Link Browser\File Name MRU
Value=20
hex(7):77,3a,5c,61,70,70,73,5c,65,78,70,6c,6f,72,65,00,00,

7. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows=20
NT\CurrentVersion\Terminal=20
Server\Install\Software\Microsoft\office\9.0\Common\Open Find\Microsoft=20
Outlook\Settings\Locate Link Browser\File Name MRU
Maximum Entries dword:0000000a

8. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows=20
NT\CurrentVersion\Terminal=20
Server\Install\Software\Microsoft\office\9.0\Common\Open Find\Microsoft=20
Outlook\Settings\Locate Link Browser\View
Data=20
hex:03,00,00,00,14,00,00,00,01,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00=

,03,00,00,00,28,00,00,00,14,00,00,00,14,00,00,00,14,00,00,00,0b,00,00,00,01=

,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,01,00,18,00,00,00,00,00,41,00=

,06,00,0b,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,08,00,00=

,00,00,00,00,00,e8,b0,06,00,0b,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00=

,ff,ff,ff,ff,08,00,00,00,00,00,00,00,e8,b0,06,00,0b,00,00,00,00,00,00,00,00=

,00,00,00,01,00,00,00,ff,ff,ff,ff,08,00,00,00,00,00,00,00,e8,b0,06,00,0b,00=

,00,00,00,00,00,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,08,00,00,00,00,00,00=

,00,e8,b0,06,00,0b,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff=

,08,00,00,00,00,00,00,00,e8,b0,06,00,0b,00,00,00,00,00,00,00,00,00,00,00,01=

,00,00,00,ff,ff,ff,ff,08,00,00,00,00,00,00,00,e8,b0,06,00,0b,00,00,00,00,00=

,00,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,20,00,00,00,00,00,00,00,e8,b0,06=

,00,0b,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,08,00,00,00=

,00,00,00,00,e8,b0,06,00,0b,00,00,00,00,00,

Keys 1-4:
These keys replace Explorer.exe with your copy of Pubexplorer.exe. All=20
the switches and variables remain the same. When you click on UNCs, =
these=20
are the keys that are used to determine what to do with them.
Keys 5-8:
When I implemented Keys 1-4 ONLY then clicked on a UNC link, I got a=20
dialog box for "Locate Link Browser" and would have to browse to=20
W:\Apps\Explore\Pubexplorer.exe. Keys 5-8 eliminate the need to do that.
**Important: If you have different drive letters and path locations, =
this=20
will need to be modified. (Especially Key 6 and possibly 8)
---------END OF ARTICLE----------------
We already had published the explorer as an application
(N:\Applications\Explorer\MFExplorer.exe).
The question:
I tried to adjust the first 2 regkeys in CLASSES ROOT to :
N:\Applications\Explorer\MFexplorer.exe /e,/idlist,%I,%L (keys 3 and 4
change "automatically")
Now when I click the the browse button nothing happens!!! The Desktop nor =
a
Explorer are started.
When I remove the /idlist switch it works! The file explorer is opened and
not the desktop. After some testing I got the best results just using=20
N:\Applications\Explorer\MFexplorer.exe %L  This opens the file explorer =
on
the network drive I want it to.
What do the "/e,/idlist,%I,%L " switches stand for? (/e =3D Opens Windows
Explorer in its default view) M$ tells me nothing more.=20
And more important can I just change my shell to
N:\Applications\Explorer\MFexplorer.exe %L  without complety messing up my
Terminal Server?
Any thoughts, tips, experience on this topic?
Thanks in advance,
Aleks
- - - - -=20






This e-mail message has been scanned for Viruses and cleared by RAV
Antivirus!

********************************************************
This Week's Sponsor - Appsense Technologies
New! AppSense Optimizer is a new product from AppSense=20
designed to increase the user capacity of your servers.=20
http://www.appsense.com/=20
**********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm=20

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
********************************************************
This Week's Sponsor - Appsense Technologies
New! AppSense Optimizer is a new product from AppSense 
designed to increase the user capacity of your servers. 
http://www.appsense.com/
**********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
This e-mail message has been scanned for Viruses and cleared by RAV
Antivirus!

********************************************************
This Week's Sponsor - Appsense Technologies
New! AppSense Optimizer is a new product from AppSense 
designed to increase the user capacity of your servers. 
http://www.appsense.com/
**********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: