Create a custom script after first Windows Boot?  


  1. Posts : 1
    Windows 7 Ultimate x64
       #1

    Create a custom script after first Windows Boot?


    Hello guys,
    I don't even know if this is possible but, better ask here
    I need to create a custom CMD script or something that does an automatic installation after the first Windows Boot (so, after a fresh install, the first time you reach the Desktop).
    Of course the script should load automatically.


    What I want to do is to run a setup: in particular it should install the Intel Graphics Driver. The installation should be silent, I mean, it shouldn't ask you anything, everything automatic, then reboot.


    I already tried to include the .inf file on the install.wim (with DISM) in order to have the driver already installed, but after the Windows setup finishes, there's still no Graphics installed; only the standard VGA one, however the injecting has success.

    I think this problem is caused because the certificate (.cat) of the driver has expired. Can you confirm this could be the cause?
    The period goes from 11/08/2017 to 25/07/2018 so it expired, the security catalog is still shown as OK. I also had to edit the igdlh64.inf file but I don't think this could be the cause. I had to do this to make the setup.exe bootable (Windows 7 is running on an intel 8th generation, that "theorically" isn't supported). So, if I manually install the driver, the Graphics Driver gets installed correctly and works. However on the manual setup, at a certain point Windows shows the message that it can't verify the author of the driver (because it expired I guess) so I have to confirm the installation. This is what probably (for me) causes the problem with DISM. I also tried to use the command /Force-unsigned, but same result.


    So what I want to do is something that does this manual setup but "automatic" after a fresh setup, if this is possible? :)
    Or maybe if you have another way.. like extend the certificate (if this is the problem..) but I don't think this is possible.


    Thank you!
      My Computer


  2. Posts : 2,246
    Windows 7 Pro SP1 64 bit
       #2

    Hi TheWalkingFrogg-

    I don't know how to do that but, why not just install it from Safe Mode or after the boot to your Desktop?
      My Computer


  3. Posts : 3,785
    win 8 32 bit
       #3

    This might give you a way of doing it https://www.howtogeek.com/124368/how...rated-updates/
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:13.
Find Us