Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

SetupComplete/FirstLogonCommands


  • Please log in to reply
3 replies to this topic

#1
_matt13

_matt13
  • Member
  • 7 posts
  • Joined 10-September 09
I'm just about finished in my setup but am running into some small annoyances. I have looked for basic details regarding this but cant seem to find the answer.

I want to install software and reg tweaks for both HKLM & HKCU before the user see the desktop. When I try to install from SetupComplete.cmd, Install gets stuck at "Setup is checking video Performance" screen, although the apps are installing in the background as I can see the progress bars from teh app installing. Some apps take a while to install and I dont want the user to power down and restart in the middle! When I run from FirstLogon command not all adjustments/tweaks are made.

So my questions is: What are the limitations from using FirstLogonCommands and SetupComplete.cmd?


Thank you
Matt


How to remove advertisement from MSFN

#2
Atheros

Atheros

    Junior

  • Member
  • Pip
  • 87 posts
  • Joined 01-June 04
have you thought about customising you wim image to already contian your software install??

i try not to use first logon commands unless i really need to, to avoid the end user having to wait for 'said' installs to complete before they can use thier system.

this way you have a complete install of your o/s and software and can be audited if need be. first logon commands will not run until oobe has completed.
----------------------
c0ws go m00

#3
biatche

biatche

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 23-November 05
Is there an answer already to topic?

say i add hkcu registry tweaks using firstlogoncommands, will they be loaded upon very first logon (right after firstlogoncommands complete -> completion of win7 installation)

#4
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
simple answer there isn't. Hkcu will not but the HKLM will be applied during setupcomplete.cmd and will apply but HKLM at Firstlogon requires reboot.

HKCU however if an app does not need reboot then you can add Hkcu with Firstlogon and then just do a logoff with Firstlogon

Now I always include Acronis on mine so what does that mean. You have to reboot before it works. So in cleanup I do a shutdown.exe /r to Reboot. All problems solved.

Another method? Do auditsys and audituser and use same setupcomplete and Firstlogon. When PC starts for first time after that All problems solved.

Win 98 or was it 98SE had something or a program that would refresh the reg but I lost details with an accidental format of wrong drive but doubt it would work with this 7

EDIT: I think what I done tried was kill explorer.exe and restart it and some of the Hkcu will apply but not the real important ones I was trying to do.

Edited by maxXPsoft, 18 December 2009 - 09:44 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN