Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to set folder options in TD?

3 views
Skip to first unread message

RussR

unread,
Apr 29, 2005, 4:35:56 PM4/29/05
to
I want to be able to set the follwing "folder options" in TD as it is a
pain to have to do on the run time system post FBA. You would usually do
this with Tools->Folder Options->View

1) Uncheck "Hide Extensions For Known File Types"
2) Select Show Hidden Files & Folders
3) Uncheck "Hide Protected OS Files"
4) Check Launch Folder Windows in sep. process

Using regmon.exe I was able to narrow it down to being somewhere in
HKLM\software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

But I wasn't able to figure out what to do since copying those settings from
my dev. system didn't work.

Thanks


KM

unread,
Apr 29, 2005, 5:31:54 PM4/29/05
to
RussR,

IIRC, all the options should be specified for current user (HKCU branch).

Try to set the following values under [HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] reg.key:
(or set them under HKEY_USERS\.DEFAULT branch to affect all users)

> I want to be able to set the follwing "folder options" in TD as it is a
> pain to have to do on the run time system post FBA. You would usually do
> this with Tools->Folder Options->View
>
> 1) Uncheck "Hide Extensions For Known File Types"

"HideFileExt"=dword:0

> 2) Select Show Hidden Files & Folders

"Hidden"=dword:1

> 3) Uncheck "Hide Protected OS Files"

"SeparateProcess"=dword:1

> 4) Check Launch Folder Windows in sep. process

"SeparateProcess"=dword:1

> Using regmon.exe I was able to narrow it down to being somewhere in
> HKLM\software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
>
> But I wasn't able to figure out what to do since copying those settings from
> my dev. system didn't work.


--
Regards,
KM, BSquare Corp.


RussR

unread,
Apr 29, 2005, 5:30:46 PM4/29/05
to
Hey Folks,

I found the answer myself: it's all in
HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

The mistake I made was looking in HKLM instead of HKCU.
When I put these as extra registry settings in TD, do I need to change the
build order or anything?

Thanks,
Russ

"RussR" <nos...@nospam.com> wrote in message
news:utaxGsPT...@TK2MSFTNGP10.phx.gbl...

KM

unread,
Apr 29, 2005, 5:40:46 PM4/29/05
to
RussR,

> The mistake I made was looking in HKLM instead of HKCU.

Yup.. And please remember about the HKUS\.DEFAULT branch.

> When I put these as extra registry settings in TD, do I need to change the
> build order or anything?

Those settings are not getting set by any component from database so you are safe to either put them in your own component or use TD
Extra Registry section.

--
Regards,
KM, BSquare Corp.

> Thanks,

KM

unread,
Apr 29, 2005, 5:38:37 PM4/29/05
to
Ouch.. fixing a typo..

> > 3) Uncheck "Hide Protected OS Files"
>

"ShowSuperHidden"=dword:1

RussR

unread,
May 2, 2005, 5:34:49 PM5/2/05
to
For some reason the "ShowSuperHidden"=dword:1 is not working correctly. I
have verified that on my development system when I uncheck/check "Hide
Protected OS Files" that this key gets changed.

I set it in TD to dword:1, but on my final system, that box is still
checked. the other boxes for file extensions, etc. all work correctly.

Any ideas?

Thanks,
Russell
"KM" <konstmor@nospam_yahoo.com> wrote in message
news:OQvf7OQ...@TK2MSFTNGP15.phx.gbl...

KM

unread,
May 2, 2005, 6:57:02 PM5/2/05
to
Russell,

Do you have "Files and Settings Transfer Wizard" component added to the Configuration? This component (migsys.inf) may overwrite
that value during FBA.

If removing the component still does not help (that would mean that Shell32 installation overwrites the value in registry) you would
need to add the value at late FBA phase. You can do that either
with FBA Generic Command. The command line may look like: "reg.exe ADD ...", or "regedit /s <file.reg>".
- or -
with FBA RegMigrate key. In TD add ShowSuperHidden"=dword:1 value
[HKLM\System\FBA\RegMigrate\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] key.

Let us know if it helps.

RussR

unread,
May 3, 2005, 9:52:44 AM5/3/05
to
No I do not have "File & Settings Transfer Wizard" installed. I tried
setting the build order of that registry key for the "SuperHidden" to 1001,
but it did not work either.

I will try the FBA generic command or RegMigrate Key that should definitely
work and I'll post back.

Thanks,
Russell

"KM" <konstmor@nospam_yahoo.com> wrote in message

news:OfZ8sp2T...@tk2msftngp13.phx.gbl...

RussR

unread,
May 5, 2005, 9:18:47 AM5/5/05
to
KM,

Is the FBA RegMigrate key only part of XPE SP2? I am using SP1 and I don't
see it.

Thanks,
Russell

"KM" <konstmor@nospam_yahoo.com> wrote in message

news:OfZ8sp2T...@tk2msftngp13.phx.gbl...

RussR

unread,
May 5, 2005, 10:09:59 AM5/5/05
to
Ok KM, I decided to use FBA Generic command and did the following
file path: %11%\reg.exe
args:add
HEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
/v ShowSuperHidden /t REG_DWORD /d 1 /f
phase: 8499

It still didn't work even though it seemed to execute successfully based on
the fbalog.txt exit code was 0x0.

Any ideas?

Thanks,
Russell

"KM" <konstmor@nospam_yahoo.com> wrote in message

news:OfZ8sp2T...@tk2msftngp13.phx.gbl...

KM

unread,
May 5, 2005, 2:34:01 PM5/5/05
to
RussR,

It is there on any version of XPe.
Make sure you are checking pre-FBA image. (oopen the system hive offline)

KM

unread,
May 5, 2005, 2:37:21 PM5/5/05
to
RussR,

> Ok KM, I decided to use FBA Generic command and did the following
> file path: %11%\reg.exe
> args:add
> HEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
> /v ShowSuperHidden /t REG_DWORD /d 1 /f
> phase: 8499
>
> It still didn't work even though it seemed to execute successfully based on
> the fbalog.txt exit code was 0x0.


Can you check whether the value has been set to "1" at run time after you logon in to post FBA image?

If not, then first logon (or Explorer shell init) probably overwrites the value.
Then you can fix it by launching the script as StartUp item. You can have it launched for All Users, self clean itself and reboot.
(with Autologon it will work fine)

RussR

unread,
May 5, 2005, 5:25:13 PM5/5/05
to
Hi KM, I'm confused as the key doesn't even exist in the registry at first
logon.
I've basically made a batch script with "reg add..." that executes at fba
phase 8499. in addition, i've added it in a extra registry setting with
build order 1001. Even with both these being there, the ShowSuperHidden Key
doesn't exist unless I add it after first logon.

Any ideas on why it is acting like this?

"KM" <konstmor@nospam_yahoo.com> wrote in message

news:uzMmkFaU...@TK2MSFTNGP12.phx.gbl...

KM

unread,
May 5, 2005, 7:03:52 PM5/5/05
to
RussR,

I don't know exactly what component may be responsible for deleting the key but it could be shell32.dll registration or some init
routine on first logon.

You can work around the problem by having one Autologon session with the self cleaning batch script file launched as StartUp item.
From the batch you can disable the Autologon (reg.value AdminAutoLogon=0) and reboot the device or just logoff.

Also, please check if the following policy is set on the device:
[HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden\Policy\DontShowSuperHidden]
If the key exists, you have to delete it. You can try to do that just before the first logon. E.g., add a second FBA generic command
with the same phase number.

0 new messages