Jump to content

ogatat

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

About ogatat

ogatat's Achievements

0

Reputation

  1. I read the following article. http://blogs.technet.com/deploymentguys/ar...er-2008-r2.aspx According to method "C." in the above article, I tired with bellow "setupcomplete.cmd" for HKCU key. [setupcomplete.cmd - sample] reg load "HKU\DefaultUser" "c:\users\Default\ntuser.dat" reg add "HKU\DefaultUser\Control Panel\Desktop" /v PaintDesktopVersion /t reg_dword /d 1 /f reg unload "HKU\DefaultUser" It seems "PaintDesktopVersion" did work without reboot. I don't yet try with "firstlogoncommnads". How about this method for HKCU keys? Thanks,
  2. Are you checking all registry tweaks are applied or not after finishing installation, then regarding registry tweaks do you use both "firstlogoncommands" and "setupcomplete.cmd" (and INF file)? I wonder if I can find out in advance which registry keys are OK or NG.
  3. Thanks for useful commands. Today I noticed "setupapi" also DID work. I missed some registry tweaks after setup completion. Even if I used advpack method, some registry key were not applied with the following: [setupcomplete.cmd] %SYSTEMROOT%\System32\rundll32 advpack.dll,LaunchINFSection %SYSTEMROOT%\Setup\Scripts\install.inf But with the following it works finally. [setupcomplete.cmd] REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Runonce" /V Once /D "%SystemRoot%\system32\rundll32 advpack.dll,LaunchINFSection %SystemRoot%\Setup\Scripts\install.INF" By the way, if I use DISM to import INF file, during setup I think PnP driver only installed... Anyway thanks for help!!
  4. I tried to run commands using setupcomplete.cmd at the last of Windows 7 installation. [setupcomplete.cmd] rundll32 setupapi,InstallHinfSection DefaultInstall 128 %SystemRoot%\Setup\Scripts\INSTALL.INF Result: rundll32 command did not work in the setupcomplete.cmd Other commands than rundll32 in the setupcomplete.cmd did work After installation, I tried the same command and rundll32 successfully worked I wonder setupcomplete has any limitation. Any comments would be appreciated.
×
×
  • Create New...