How to set folder options in TD?

  • Thread starter Thread starter RussR
  • Start date Start date
R

RussR

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
 
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,

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)
 
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.
 
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
 
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.
 
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 said:
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.

--
Regards,
KM, BSquare Corp.

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,

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

Thanks,
Russell

KM said:
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.

--
Regards,
KM, BSquare Corp.

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
 
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 said:
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.

--
Regards,
KM, BSquare Corp.

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
 
RussR,

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

--
Regards,
KM, BSquare Corp.

KM,

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

Thanks,
Russell

KM said:
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.

--
Regards,
KM, BSquare Corp.

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
Ouch.. fixing a typo..

3) Uncheck "Hide Protected OS Files"


"ShowSuperHidden"=dword:1
 
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)

--
Regards,
KM, BSquare Corp.

Thanks,
Russell

KM said:
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.

--
Regards,
KM, BSquare Corp.

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
Ouch.. fixing a typo..

3) Uncheck "Hide Protected OS Files"


"ShowSuperHidden"=dword:1
 
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 said:
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)

--
Regards,
KM, BSquare Corp.

Thanks,
Russell

KM said:
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.

--
Regards,
KM, BSquare Corp.


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
Ouch.. fixing a typo..

3) Uncheck "Hide Protected OS Files"


"ShowSuperHidden"=dword:1
 
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.

--
Regards,
KM, BSquare Corp.

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 said:
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)

--
Regards,
KM, BSquare Corp.

Thanks,
Russell

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.

--
Regards,
KM, BSquare Corp.


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
Ouch.. fixing a typo..

3) Uncheck "Hide Protected OS Files"


"ShowSuperHidden"=dword:1
 
Back
Top