• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
_matt13

SetupComplete/FirstLogonCommands

6 posts in this topic

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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)

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

Hi, I want to run two EXE files with SetupComplete.cmd on Windows 7.

Please give me the example what to write in "SetupComplete.cmd"?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.