![]() ![]() One thing I do is use the start /wait "" (so in this case the command would be start /wait "" pnputil.exe /add-driver “C:\Drivers\*.inf” /subdirs /install >c:\drivers.bat hint: the 2 double quotes are needed to work around a quirk in the start program) to start a program and then wait for its execution before going on to the next step in the batch file. Here are some random thoughts on the issue The fog client executes the snapins and the fog client runs as SYSTEM user. Now in your case you have one snapin copy the files over and a second snapin install them. ![]() The setupcomplete.cmd batch file is run as part of windows oobe and is executed as SYSTEM user. In my tutorial I deliver the drivers during the post deployment scripts so the drivers are already on the the computer when it boots for the first time into windows and then after oobe completes I have the pnputil command run from the setupcomplete.cmd. I think I’ll give it a try with your suggested solution of injecting the drivers with the post install script Said in Batch-File from Snapin is just partially executed: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |