Jump to content

mahi

Member
  • Posts

    29
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Belgium

Posts posted by mahi

  1. 3. how to set windows explorer view as default to (hmm translation from my german version)

    3.1 show hidden system files

    3.2 show files in systemfolders

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "Hidden"=dword:00000001
    "HideFileExt"=dword:00000000
    "ShowSuperHidden"=dword:00000001
    "SuperHidden"=dword:00000001

    3.3 show files in rows (lines) - just list - not the stupid logo 32x32 view or whatever this is
    It's been a while, but I believe it's controlled by the fifth word "Settings" in [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]

    Example (look ony to the 5th value, "04" - the rest may not apply tour needs - copy from your own Registry)

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]
    "Settings"=hex:08,00,00,00,04,00,00,00,00,00,00,00,00,77,7e,13,73,35,cf,11,ae,\
     69,08,00,2b,2e,12,62,04,00,00,00,01,00,00,00,43,00,00,00

    If I recall correctly, 04 is the detailed view you want to use.

  2. Windows Explorer features a pane on the left were you can display a folder tree, search engine, bookmarks,... But if you don't show any of those, Windows XP (and 2000) shows a pane with common tasks for the selected folder (see screenshot). let's call it the webview to give it a name.

    Now, the folder pane, search pane,... can all be resized to your own needs. For example, the folder and search pane width is controlled by the "BarSize" variable in the [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Explorer Bars\{EFA24E64-B078-11D0-89E4-00C04FC9E26E}] (folder pane) and [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Explorer Bars\{C4EE31F3-4768-11D2-BE5C-00A0C9A83DA1}] (search pane) registry keys.

    However, I can't find an entry where I can set the width of the webview.

    full.png

    I really would like to make the webview a bit wider. But how? When you put the mouse cursor on the vertical bar between the folders, search,... left pane and the right pane the cursor changes and you can resize the left pane. That way I could monitor which registry keys changed. But this doesn't work for the webview. You can't resize it from in Explorer.

    Well, maybe it's just not possible? It must be... I noticed the Dutch Windows XP version has a webview that's about 20 pixels wider than the US version. So somewhere there must be a setting to change the width. But where?

  3. According to this article there's no registry entry for this.

    I noticed switching this option changes the following bold bytes in the registry:

    [HKEY_USERS\S-x-x-xx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxx\Software\Microsoft\Internet Explorer\Desktop\Components\0]"Position"=hex:2c,00,00,00,4b,00,00,00,00,00,00,00,b5,04,00,00,e2,03,00,00,00,\

      00,00,00,01,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00

    between e2,03 and 00,04 (the x's in the key are numbers, but differ from user to user). However setting these values manually doesn't seem to have any effect. Not in this user key and not in the HKEY_CURRENT_USER key... So I'm afraid the article is correct :(

  4. This setting is controlled by

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]"Settings"=hex:08,00,00,00,04,00,00,00,00,00,00,00,00,77,7e,13,73,35,cf,11,ae,\

      69,08,00,2b,2e,12,62,04,00,00,00,01,00,00,00,43,00,00,00

    However, as you can see the data is in an uncomprehensible format. The bold, fifth hexadecimal value in my example indicates the display style setting. Possible values:

    01: Large Icons

    02: Small Icons

    03: List View

    04: Details

    Maybe there are others too. I remember these from Windows 2000, but XP has some new display styles.

    It's best to configure an Explorer window to your needs, logout/login (*), and then save the [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams] and [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults] keys.

    *: Not sure if the logout/login is necessary, but if I'm not mistaken, the HKEY_CURRENT_USER key is only updated on logout.

  5. During my unattended setup I'd like to set drive labels for partition C: and D:. On this forum I found a useful registry entry to accomplish this:

    ;Set label for drive c:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultLabel]
    @="System - NTFS"

    This works great, so I thought to use the same method for drive D:

    ;Set label for drive d:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D\DefaultLabel]
    @="Documents - NTFS"

    But this doesn't work... The drives are preformatted with NTFS prior to Windows XP setup starts.

    What am I doing wrong?

  6. Show My Computer icon on the desktop:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
    "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000

    You should add this to the registry at the cmdlines.txt stage (then it will be applied to the default user profile).

    If you also want My Documents on the desktop, add:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
    "{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000

    Or use Yzöwl's method... It's a matter of taste.

  7. It's true the content type sniffing is limited since there are only three available categories. I don't know if it's slow since I haven't seen a fast sniffer in action, but for my needs it's perfect: It recognizes dvd video and xvid/divx cd's and performs the associated task.

    I'm really looking forward to your approach. I hope you can get some free time somedays :)

    I'll see if I can find the DLL in which the autorun.inf filename is hardcoded.

  8. Thanks for your input crahak!

    Audio cd's, video dvd's, picture discs,... all get recognized by the content type sniffers (*) of Windows XP without an autorun.inf being present on the disc. Maybe autoplay shares the autorun code, but it absolutely does not depend on the autorun.inf file. So if I could just make Windows XP's autorun look for another (non-existing) file, rather than autorun.inf I think it would fix the problem. But I don't know where XP stores the 'autorun.inf' filename. It's not in the regsitry (at least not in plain text), and not in any txt/ini/... file. Maybe it's hardcoded in a DLL. That's not a problem, I can HEX edit that, but then I first need to know what file it is...

    *: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\ContentTypeSniffers] and subkeys. If you want XP to look for other filetypes than the default, this is the place to be.

  9. Update... I played around a little with the *.inf Install options. Removing has no effect on autorun. The autorun.inf still gets executed as before. Even removing the complete .inf and inffile keys from the Registry didn't have any effect. So I don't think the *.inf filetype has any influence on the autorun behaviour. And I'd rather not mess with it as many drivers rely on it for installation.

    But then, what controls the autorun.inf?

  10. I know about holding the shift key, but I usually forget to use it. I mean, who's gonna think that your brand new audio cd silently installs crap that disables audio extraction software... Or the new Star Wars dvd's which keep on installing a crappy dvd player while I don't want it.

    I'll try what happens if I 'break down' the inf file extension in the registry. But I'm afraid, that may also disable the ability to install certain drivers.

    I really hoped I could somewhere find a reference to 'autorun.inf'.

  11. I reread your question... You say you get a blank screen after the Windows installation. Not even a start menu?

    Normally, the computer should reboot after the Windows installation finished. Then while booting into Windows for the first time it will perform the RunOnceEx stuff. From what I understand, that works correctly on your unattended but somehow Windows doesn't automatically reboot after the Windows installation finished (you do it manually, but RunOnceEx gets executed at the correct moment). You should try to figure out why it doesn't reboot automatically (I wouldn't know)...

  12. For instructions on slipstreaming, see Slipstreaming Windows XP Service Pack 2 and Create Bootable CD. This is about SP2, but the instructions are analog for SP1. An alternative and easier way is using software that does the slipstreaming for you. An example is nLite (also hosted on MSFN).

    But either way you'll need to copy the contents of your Windows cd to your harddisk. It appears you get an error doing this. Maybe the cd is damaged? Try reading the disc in another cdrom drive.

  13. Maybe a strange request since most people either want Autorun completely disabled or fully enabled...

    Ever since Windows 98 the autorun feature has annoyed me. You insert a cd and before you know it it launched an application. It's not that bad when it asks to install the application on the cd, but some cd's install crap without notice. Luckily it's easy to disable autorun in the registry.

    But with the coming of Windows XP the autorun ability was extended with autoplay. When you insert a cd/dvd containing audio or video it will ask you if you want to play those. Using TweakUI I made a few new autoplay handlers so Media Player Classic automatically starts playing dvd or divx/xvid movies upon insertion. I really love this feature (I've set all the other handlers to 'take no action').

    However, when I disable autorun in the Registry, I also lose autoplay. And I really don't want any autorun.inf applications starting.

    Somehow I believe it must be possible. After all, there is no autorun.inf on an audio cd or video dvd. Yet Windows recognizes them and is able to perform the action I requested. So my idea is to leave autorun on (since autoplay seems to rely on that registry setting) but somehow to disable the execution of autorun.inf files. Since Windows looks for the autorun.inf file I thought maybe I could make Windows look for another (non-existing) file? I searched through the registry for 'autorun.inf' but couldn't find any match... Anyone knows where Windows stores the autorun.inf name so I can hex-edit it? Or maybe someone knows a better/other way to accomplish what I want?

  14. A strange problem... I stripped my Windows XP SP2 using nLite. In the WINNT.SIF file I have

    [GuiRunOnce]
    %systemdrive%\Install\RunOnceEx.cmd

    The "RunOnceEx.cmd" script is in the Install folder and is copied to the harddisk during setup.

    But something goes wrong... During the first boot of the OS I get to the desktop, without the stuff inside RunOnceEx.cmd executed. When I look at the registry, the necessary keys are there. It looks like if the keys were added after the OS reads the RunOnceEx registry keys because when I reboot the computer the RunOnceEx registry keys get executed. But of course I'd like to see this happen upon the first boot.

    Anyone knows what's going wrong?

×
×
  • Create New...