Jump to content

gai-jin

Member
  • Posts

    81
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by gai-jin

  1. I know I've seen a program that would do this before, but I can't remember what it was.

    Here's what I want:

    Insert a cd. The program scans the CD and indexes all the files on it by name/date/size etc. When its done, insert another cd. IIRC, it would scan new cd's in the background everytime you put a disc in.

    Later, you can search the program for a specific file, and it would tell you which cd it was on.

    (I assume you have to name or number the cd's in some way... don't recall.)

    Anyone know of a program that does this?

    I was thinking it was google desktop or some similar desktop search app, but can't find that feature now.

  2. I'd like to keep track of every ISO I make of my restore disk. To keep version numbers, and easily identify the different versions.

    What do I need to do to make the batch listed below call the old version number (from a text file, likely), add 1 to the number, store this to memory as a variable, and write the new version number over the old in the text file, then use the version number variable in the iso file name?

    This way, if I have multiple revisions of the iso saved, it's easy to tell just what 'version' is most recent/experimental.

    Thanks,

    Gai-jin

    CLS
    @echo off
    TITLE Creating ISO Image of Windows XP Professional
    ECHO.
    ECHO Removing any possible attributes set on C:\Workshop\Restore CDs\CD Set\CD1 and its subfolders...
    attrib -R -H C:\Workshop\restor~1\2.0\CDSET~1\CD1 /S /D
    ECHO.
    ECHO Creating ISO...
    CDIMAGE.EXE -lXPdisc1 -t12/31/2002,12:00:00 -h -j1 -m -bxpboot.img C:\Workshop\restor~1\2.0\CDSET~1\CD1 C:\Workshop\restor~1\2.0\XPSp2R1.ISO
    ECHO.
    ECHO.
    ECHO Removing any possible attributes set on C:\Workshop\Restore CDs\CD Set\CD2 and its subfolders...
    attrib -R -H C:\Workshop\restor~1\2.0\CDSET~1\CD2 /S /D
    ECHO.
    ECHO Creating ISO...
    CDIMAGE.EXE -lXPdisc2 -t12/31/2002,12:00:00 -h -j1 -m -bxpboot.img C:\Workshop\restor~1\2.0\CDSET~1\CD2 C:\Workshop\restor~1\2.0\XPSp2R2.ISO
    ECHO.
    PAUSE
    EXIT

  3. Ah Ha! I think I've found the problem. In the reg file to be imported, the

    "fDenyTSConnections"=dword:0x00000000

    should be:

    "fDenyTSConnections"=dword:00000000

    Now it seems to work great!

    Now, a related question... what's the difference between the 'currentcontrolset' tree and the 'controlset1' and 'controlset2' trees? Do these all need to be changed?

  4. I know I've even tried applying 'settings.reg', as listed in the first post, after intall was complete & rebooting. Even then, if I go into system properties, remote tab, it doesn't show remote desktop enabled.

    I actually have it setup to apply via regedit /s settings.reg as the very last item in runonceex.

    I'll check it tonight.

  5. Most likely, it works on your PC because the file associations are already set.

    Hmm... What if, before installing NVE, you import reg keys or a settings file (wherever that's stored), then NVE setup wouldn't have to ask for associations.

  6. I'm trying to use the task kill method mentioned here. Works great for ad aware itself, kills it so fast I didn't even see it pop up. The help window still comes up though. Maybe I need to move that task kill to after the following program, so it gives the help window time to fully open before killing it?

  7. I have this running as the very last step of runonce ex.

    I've also tried adding this reg file *after* setup completes, manually. It still doesn't activate the remote desktop option. (at least, it doesn't show it active in the sytem control panel... haven't actually tried to remote in.)

    I'll look again tonight, I had done a search, but the main thing I found in searching was this key:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]

    "fDenyTSConnections"=dword:0x00000000

    And that doesn't seem to work.

  8. Grrr... I've been fighting with this and still can't seem to get it. I've done a reg shot, found the keys that open the firewall ports, found the key that seems to actually turn on remote desktop, but I can't get it to work.

    What am I missing here?

    Here's the reg file I've used

    settings.reg

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\Licensing Core]
    "EnableConcurrentSessions"=dword:0x00000001

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server]
    "fDenyTSConnections"=dword:0x00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Epoch]
    "Epoch"=dword:0x000004C8

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List]
    "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List]
    "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
    "fDenyTSConnections"=dword:0x00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch]
    "Epoch"=dword:0x000004C8

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List]
    "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List]
    "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"

    Here's what I get from a regshot on my vmware after installing from my ua disk. Initially it was off, I turn it on, all of these keys show as changing. (Most of these didn't show up on the reg shot for my real machine though, which I patterened the above from.)

    REGSHOT LOG 1.61e5
    Comments:
    Datetime:2004/8/19 23:33:50  ,  2004/8/19 23:34:04
    Computer:MYCOMPUTER , MYCOMPUTER
    Username:Owner , Owner

    ----------------------------------
    Values added:2
    ----------------------------------
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\kmixer\Enum\0: "SW\{b7eafdc0-a680-11d0-96d8-00aa0051e51d}\{9B365890-165F-11D0-A195-0020AFD156E4}"
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kmixer\Enum\0: "SW\{b7eafdc0-a680-11d0-96d8-00aa0051e51d}\{9B365890-165F-11D0-A195-0020AFD156E4}"

    ----------------------------------
    Values modified:18
    ----------------------------------
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\RNG\Seed: 7A 53 A5 67 7F C4 CA 2D 56 1F 2E 1A D0 AC F2 71 4A A5 42 4B 9C 77 08 D9 B7 E0 D5 36 D3 BF 0B B0 19 34 F4 9B 46 F7 9B 57 09 0A 5C 2A BA F3 24 86 AB 61 66 C6 F7 9F 7B 1C CF 13 B7 C0 4E 35 D4 91 63 D2 77 1D A0 93 26 EB 0A 80 AB 0F 6D 8D 6C AE
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\RNG\Seed: 15 F0 75 12 FD 4F 93 6F BC 4D 8C 52 51 F4 D0 D7 A7 F4 FD 33 D4 79 CD 86 27 B9 68 94 D9 F8 3C 57 F9 35 26 80 37 56 A8 62 B0 E7 3F 7D A4 C8 32 EA 07 15 C9 E7 81 18 05 66 6C 8B AA 07 00 68 AE F1 E2 99 4E 87 2D 14 56 B0 E6 89 F9 40 E7 32 D1 1D
    HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\McShield\szLastScanned: "C:\WINDOWS\Prefetch\RUNDLL32.EXE-147710F4.pf"
    HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\McShield\szLastScanned: "C:\WINDOWS\Prefetch\REGSHOT.EXE-2032142B.pf"
    HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\McShield\dwFilesScanned: 0x0000018D
    HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\McShield\dwFilesScanned: 0x0000018F
    HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\McShield\dwLastModified: 0x0000207E
    HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\McShield\dwLastModified: 0x0000207F
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\fDenyTSConnections: 0x00000001
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\fDenyTSConnections: 0x00000000
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\kmixer\Enum\Count: 0x00000000
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\kmixer\Enum\Count: 0x00000001
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\kmixer\Enum\NextInstance: 0x00000000
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\kmixer\Enum\NextInstance: 0x00000001
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Epoch\Epoch: 0x0000000D
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Epoch\Epoch: 0x0000000E
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Disabled:@xpsp2res.dll,-22009"
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Enabled:@xpsp2res.dll,-22009"
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Disabled:@xpsp2res.dll,-22009"
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Enabled:@xpsp2res.dll,-22009"
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections: 0x00000001
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections: 0x00000000
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kmixer\Enum\Count: 0x00000000
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kmixer\Enum\Count: 0x00000001
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kmixer\Enum\NextInstance: 0x00000000
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kmixer\Enum\NextInstance: 0x00000001
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch\Epoch: 0x0000000D
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch\Epoch: 0x0000000E
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Disabled:@xpsp2res.dll,-22009"
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Enabled:@xpsp2res.dll,-22009"
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Disabled:@xpsp2res.dll,-22009"
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List\3389:TCP: "3389:TCP:*:Enabled:@xpsp2res.dll,-22009"
    HKEY_USERS\S-1-5-21-1292428093-484763869-839522115-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count\HRZR_EHAPCY: 01 00 00 00 0A 00 00 00 90 05 05 F2 44 86 C4 01
    HKEY_USERS\S-1-5-21-1292428093-484763869-839522115-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count\HRZR_EHAPCY: 01 00 00 00 0B 00 00 00 70 9A 2F FD 44 86 C4 01
    HKEY_USERS\S-1-5-21-1292428093-484763869-839522115-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count\HRZR_EHAPCY:FLFQZ.PCY: 01 00 00 00 0A 00 00 00 90 05 05 F2 44 86 C4 01
    HKEY_USERS\S-1-5-21-1292428093-484763869-839522115-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count\HRZR_EHAPCY:FLFQZ.PCY: 01 00 00 00 0B 00 00 00 70 9A 2F FD 44 86 C4 01

    ----------------------------------
    Total changes:20
    ----------------------------------

    Thanks,

    Gai-jin

  9. What's wrong with the following, saved as 'settings.reg'.

    When I try to add it to the registry, I get an error "Cannot import D:\$OEM$\$1\Install\settings.reg: Error accessing the registry."

    Help would be appreciated.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\Nero BackItUp\Settings]
    "DriveBackup"=dword:00000001

    [HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\Nero - Burning Rom\Info]
    "User"="PCOwner"
    "Company"="None"
    "Serial6"="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"
    "Serial5"="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\Nero Media Player\Info]
    "User"="PCOwner"
    "Company"="None"
    "Serial6"="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"
    "Serial5"="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\NeroVision\Info]
    "User"="PCOwner"
    "Company"="None"
    "Serial6"="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"
    "Serial5"="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\NeroMix\Info]
    "User"="PCOwner"
    "Company"="None"
    "Serial6"="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"
    "Serial5"="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\Licensing Core]
    "EnableConcurrentSessions"=dword:0x00000001

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
    "WaitToKillServiceTimeout"="3000"

    [HKEY_LOCAL_MACHINE\\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
    "DoReport"=dword:0x00000000

    [HKEY_LOCAL_MACHINE\Software\mIRC\License]
    @="99999-999999"

    [HKEY_LOCAL_MACHINE\Software\mIRC\UserName]
    @="Registered User"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
    "DefaultUserName"=""
    "DefaultPassword"=""
    "AutoAdminLogon"=""


    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server]
    "fDenyTSConnections"=dword:0x00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Epoch]
    "Epoch"=dword:0x000004C8

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List]
    "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List]
    "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
    "fDenyTSConnections"=dword:0x00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch]
    "Epoch"=dword:0x000004C8

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List]
    "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List]
    "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009"

  10. Hmm... seems to work, though the runonce window skips past the 'copying files' step very quickly... it's getting done, but I'm afraid the file copy is running in the background while programs are installing.

    While it doesn't seem to be a problem right now, it could be, if by some chance the programs being installed hadn't been copied over yet...

    is there a way to add a wait command with the xcopy, so that it won't continue processing runonceex until that step is over?

  11. I have runonceex launching xcopy with this command:

    HKLM,"%RunOnceEx%\BBinstall",1,,"%11%\xcopy.exe %01%\install %24%\install\ /S /C /Q /H /Y"

    But this causes a large, blank, cmd window to pop up. How can I do this without the cmd window taking up the screen?

    I thought of calling xcopy.cmd with

    cmdow at the beginning to hid the window, but the problem with that is then I don't know how to label the source drive... I need a variable which points to the cd drive windows was installed from.

    Any suggestions?

×
×
  • Create New...