Jump to content

click-click

Member
  • Posts

    293
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Everything posted by click-click

  1. Hello, Is it necessary to format the target partition for a clean Win7 install with WinNTSetup? The reason I ask is because I often rebuild my Win7 system and would like to keep one of my directories without having to back it up and restore it each time I redo the system. I have not found a way to remove all other files from the system other than doing a quick format which also removes my local applications folder. I've tried taking ownership, but that does not work for everything such as the winsxs and many of the other folders. It is such a pain to remove Win7 from a partition without formatting it. If anyone knows a way to do this please let me know. WinNTSetup seems to allow setup on a previous Win7 installation, but I still see a lot of files from the old installation which may affect the new installation. Not formatting doesn't seem to be the clean way of installing. Thanks for any infos ...
  2. @JFX - GUI upscale on higher Windows DPI settings Very nice. I wish more developers would take this into consideration when developing an application. I often use apps that don't have a clue about being DPI conform. Most of the time text gets truncated or there is overlap. It seems testing is only done using normal 96 DPI. Windows also offers 120 DPI. I don't know if the developers are too lazy to bother or if they don't know how to code it. What language do you use for codng WinNTsetup and is there a specific function for making the app compatible with different DPI settings? Thanks, will try out the new version tomorrow on an XP build.
  3. This looks interesting. I believe the the power reg entries that I am trying to change are also protected. I need to start an install for Win7 to get the security attributes for the keys, but your idea about export/import sounds good. SetACL looks very promising and your sample does the trick. What I would like to do is restore the original permissions after replacing the .msc files. I did a list with the -bckp option, but it won''t restore the original settings. SetACL.exe -on w:\windows\system32\eventvwr.msc -ot file -actn list -bckp evwrACL "\\?\w:\windows\system32\eventvwr.msc",1,"DACL(protected+auto_inherited):S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464,full,allow,no_inheritance:Administrators,read_execute,allow,no_inheritance:SYSTEM,read_execute,allow,no_inheritance:Users,read_execute,allow,no_inheritance" I can't change the owner back to S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464 and if I try to change the Administrators permission back to read_ex, it still shows full. C:\>SetACL.exe -ot file -on "c:\Windows\System32\eventvwr.msc" -actn ace -ace "n:S-1-5-32-544;p:read_ex;s:y" INFORMATION: Processing ACL of: <\\?\c:\Windows\System32\eventvwr.msc> SetACL finished successfully. C:\>SetACL.exe -ot file -on "c:\Windows\System32\eventvwr.msc" -actn setowner -ownr "n:S-1-5-80;s:y" INFORMATION: Processing ACL of: <\\?\c:\Windows\System32\eventvwr.msc> SetACL finished successfully. C:\>SetACL.exe -ot file -on "c:\Windows\System32\eventvwr.msc" -actn setowner -ownr "n:S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464;s:y" INFORMATION: Processing ACL of: <\\?\c:\Windows\System32\eventvwr.msc> SetACL finished successfully. SetACL.exe -on w:\windows\system32\eventvwr.msc -ot file -actn list "\\?\w:\windows\system32\eventvwr.msc",1,"DACL(protected+auto_inherited):Administrators,full,allow,no_inheritance:S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464,full,allow,no_inheritance:SYSTEM,read_execute,allow,no_inheritance:Users,read_execute,allow,no_inheritance" SetACL finished successfully. I guess I haven't caught on how to correctly use SetACL yet. Thanks for any help.
  4. After running WinNTSetup for WIndows 7 , I have some additional changes that I would like to automate. I have a question about a few problems that I encountered. Maybe someone can help resolve them. I have 5 modified *.msc files (ie. eventvwr.msc etc.) that I want to replace in system32. When I copy the files, I get Access is denied. It looks like I am missing full control to do this. I can manually change the security attributes, but would like my setup cmd to be automatic without intervention. I have a similar problem when I try to modify one of the power schemes with a .reg file. How can I elevate my privileges to avoid these errors?
  5. Okay, I will figure out another way of doing this. I tried vboot and also ended up with 'Operating System not found' on booting after WinNTSetup. I also tried to fix this with the W7 recovery disk. Bootrec /fixmbr (okay), Bootrec /fixboot (element not found message) Bootrec /rebuildBCD (finds windows system then message element not found). The only thing that works with a .vmdk is using WinNTSetup V1 to install XP. I have not tried that with V2 though. BTW, VBootctl.exe will install drivers on 1st use and all worked fine until I rebooted. My XP system hung during the boot process and I had to to revert to my last good config. Mount/Umount and reboot worked okay on Vista though. Thanks for taking the time.
  6. I ran WinNTSetup using the virtual disk that I formatted from a Win 7 VM. I still got a WinNTSetup bootsect error message even after selecting "Do Not update the boot Configuration". Now when I try to boot, I get Operating System not found. I'm still not there yet.
  7. Okay, I formatted a newly created vmdk with a Win 7 VM and mounted that for WinNTSetup and now I see a green check mark for the BOOTMGR PBR. I will try your suggestion (formatted in XP) later. Did I understand you correctly that I should select "Do Not update the boot configuration" whenever using a mounted virtual disk?
  8. I am trying to use WinNTSetup V2 to setup Win7 on a VMware virtual disk. I had a bootable Win7 already installed on that vmdk which booted fine. When I mounted that vmdk and formatted it and then ran WinNTSetup and selected that drive as the boot drive + installation drive, all three boot flags were red. Bootsect threw an error after the WinNTSetup was finished with the install.wim and the setup would not boot in the VM. I am doing all this from an XP machine and don't have any problems when using a native disk. I can prep XP on a VMware virtual disk and it boots fine, but not Win 7. If I select the left tab with the W7 vmdk as the target, I see a green NTLDR PBR If I use the right tab, the BOOTMGR PBR is red. Any ideas? Thanks
  9. I ran a test installing Win7 with SP1 integrated and applied the majority of tweaks supplied by V2. The following tweaks did not seem to work for me: Show Take Ownership to context menu -> do not see this on any of the context menus Show Cmd.exe Icon on context menu -> only shows with shift Right-Click Disable Language Bar -> Still appears on taskbar (did not see this tweak in tweaks.au3 file) Disable System Restore -> Still enabled for drive C: (DisableSR entry not present in registry. Tried adding this entry and made no difference) I did not apply the following tweaks: Show all tray icons XP-like taskbar icons Disable Aero Transparency Disable Automatic Restart on WU Force XP Partition Mode for new partitions Disable Pagefile The rest looks good. One tweak in the tweaks.au3 (NoSecurityWarning4DownloadedFiles) is not selectable in the GUI for Win7 Thanks...
  10. Thank you very much JFX for posting the reg file and the sample RunOnceEx tip. I am currently doing something similar using a SetupComplete.cmd that I copy to \Windows\Setup\Scripts\. This gets run immediately after Windows Setup completes before the Logon screen appears. Now, all I need to do is to figure out how to convert my winnt.sif to something I can use for Win7 to make the install less interactive. Thanks again ...
  11. Is there a readable version of the regtweaks and how they are applied by V2? I'd like to get an idea how I could add application registry entries for preloaded software that I copy to Win7. I have the .reg entries for each application and need to apply them to both HKLM and HKCU keys. I assume all of the V2 regtweaks apply to the HKLM system and software hives only. Is that correct?
  12. I am just looking into installing Win7 and I currently use WinNTSetup for doing XP Installs. I tried WinNTSetup V2 to do a Win7 install and it works great. With XP, I was able to use a cmdlines.txt in \$WIN_NT$.~LS\$OEM$\ to add a RunOnceEx.cmd etc. to do my customizing. The structure for this is created using V1 of WintNTSetup, but With V2, I no longer see a structure to do this. Even though V2 allows regtweaks, I cannot determine how these tweaks are run. I was hoping to find a way to adapt the XP way of doing things to Win7. Is it possible? Thanks..
  13. I'm a bit confused about the Intel® Rapid Storage Technology and the Intel® Matrix Storage Manager driver downloads. From what I can tell, Intel changed the name from MSM to RST. So what is the difference between using one over the other except for the fact that that the RST drivers are newer than the MSM ones. My laptop has an Intel® ICH9M-E/M SATA AHCI Controller that came with MSM drivers installed (8.9.2.1002). Do I need to stick with the MSM version or can I use the newer RST? Thanks..
  14. Thanks Seraph. Where can I find out what the numbers mean when used in an .inf ? I assume these numbers are predefined and 24=C:\, but I'm sure there's more to it than that. Are the different parameter keyword= and [sections] explained somewhere? My problem is I don't know how to code .inf files so they work after I'm done Ciao ...
  15. Hi, I am having similar problems of shortcuts not being created. In my case, I changed the install path, but I'm not sure how to specify the path for the shortcut entries. The following works, but has the wrong path for me: [PROG.AddShortcut] Name =%SRTC_NAME% CmdLine =16422,%PROG_DIR%,%PROG_1% WorkingDir =16422,%PROG_DIR% SubDir =%PROG_SDIR% InfoTip =%PROG_INFO% The following doesn't work and I get a pop-up at the end of install that the inf is inconsistant. How do i specify c:\toolbx to replace 16422 (c:\program files)? [PROG.AddShortcut] Name =%SRTC_NAME% CmdLine =c:\toolbx,%PROG_DIR%,%PROG_1% WorkingDir =c:\toolbx,%PROG_DIR% SubDir =%PROG_SDIR% InfoTip =%PROG_INFO% Thanks for any pointers.
  16. Is there a newer version of InstMUWC.inf to install Microsoft Update? This inf seems to be based on an older version (7,2,6001,788) of MU. The current version is ( 7.4.7600.226 ) Also there are some additional files that are not being considered by the inf. For Microsoft Update I have the following files in system32: mucltui .dll mucltui.dll.mui muweb .dll Thanks ...
  17. If I missed this skimming through this thread my apologies, but is it possible to reuse a usb stick prepared with WinSetupfromUsb without redoing the source and boot files after completing an installation? The reason I ask is that when I install from a hard drive, the ~BT and ~LS dirs are only temporary and eventually get deleted by setup when it's done with them. I would assume that this will also happen to the USB stick if I install from that. Is there a way around this so that I can use it over again just like a CD? I don't have any USBs that have write-protect switches, which might be a solution for some but not others like me. Thanks ...
×
×
  • Create New...