Create a custom script after first Windows Boot?

TheWalkingFrogg

New member
Local time
7:42 PM
Messages
1
Hello guys,
I don't even know if this is possible but, better ask here :rolleyes:
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

Computer type
Laptop
OS
Windows 7 Ultimate x64
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

Computer type
Laptop
Computer Manufacturer/Model Number
Dell M6500 Precision Work Station
OS
Windows 7 Pro SP1 64 bit
Memory
8 GB
Screen Resolution
1920x
Internet Speed
30 Mbps
Antivirus
Norton Security
Browser
IE 11
Back
Top