MSFN Forum: Changing Explorer Default View... - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing Explorer Default View... ...via Group Policy or Registry Hack Rate Topic: -----

#1 User is offline   beerbelly 

  • Group: Members
  • Posts: 1
  • Joined: 14-July 06

Posted 14 July 2006 - 08:44 AM

Help!

We are using Citrix PS4 on Win 2003 servers. We have iexplore.exe published (Internet Explorer) and the default view for it is thumbnail/large icons (also in Windows Explorer/My Computer as well).

Is there somewhere in the registry or in GP that I can change the default view for users to be list instead of these large icons?

I have used regmon and about 15 keys get accessed changing the view from the toolbar!!


Have anyone else been able to do this?

Thanks


#2 User is online   allen2 

  • Not really Newbie
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,439
  • Joined: 13-January 06

Posted 14 July 2006 - 12:34 PM

As far as i know there isn't gp for this. If i remember well, the view style is stored here:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
What i usually do is set it like i want then export the key but this key contains a lot of other settings.

#3 User is offline   os2fan2 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 400
  • Joined: 09-September 04

Posted 16 July 2006 - 02:18 AM

You can't really get around to changing the settings until the settings are created. I do not know where these come from, but this is a rexx script to do the throbber. The byte that it changes also controls other settings in the UI.

This is a regina rexx script, using Patric McPhee's w32util.dll at http://home.interlog...m/software.html



/* Shell throbber/dethrobber.  The core now works.  */
numeric digits 50

regroot = 'HKEY_CURRENT_USER'
regbase = 'Software\Microsoft\Internet Explorer\Toolbar\'
regword = 'ITBarLayout'

call rxfuncadd 'w32loadfuncs', 'w32util', 'w32loadfuncs'
call w32LoadFuncs
parse arg a1 a2
if pos(a1,'012') = 0 then do
say "THROB.REX non-distructively alters the throbber in IE and the Shell"
say ""
say "the throbber is the little rotating thing in the top right hand corner"
say "of the window"
say "This is to be run under the target system, not in PE boot"; say
say "Usage: THROB shell ie"
say "   0   turn off the throbber"
say "   1   turn on the throbber"
say "   2   just look."; say ""
say "if the throbber is on, then the last hex digit is a letter or over 8"
say "a value of 0 to 7 means it is off".
end
if pos(a1,'012') = 0 then a1 = 2
if pos(a2,'012') = 0 then a2 = 2

/* Shell Browser */
call regpeek 'ShellBrowser', a1
call regpeek 'Explorer', a1
/* IE */
call regpeek 'WebBrowser', a2

exit

regpeek:
parse arg t0, t1
reghere = w32regopenkey(regroot, regbase || t0)
if reghere=0 then do; call w32regclosekey(reghere); return; end;
k1 =  w32regqueryvalue(reghere, regword)
parse var k1 1 k1a 33 k1b 35 k1c
select
  when t1 = 1 then r1 = b2x( bitor(x2b(k1b), '00001000'))
  when t1 = 0 then r1 = b2x(bitand(x2b(k1b), '11110111'))
  when t1 = 2 then r1 = k1b
  otherwise; r1 = k1b; say 'invalid option' t1; end
r0 = w32regqueryvaluetype( reghere, regword)
r2 = k1a || r1 || k1c
s1 = w32regsetvalue(reghere, regword, r0, r2)
if s1=0 then s2 = 'Y'; else s2 = 'N'
call w32regclosekey(reghere)
say t1 left(t0,20) r0 k1b r1 s2
return


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy