Quantcast
Channel: Configuration Manager 2012 - Operating System Deployment forum
Viewing all articles
Browse latest Browse all 9126

Run Diskpart with Run command line in OSD task sequence

$
0
0

I want to check hdd if does not a 100MB reserved partition, make one. I managed to detect if a hdd has it or not. but I wasn't successful implement it.  I've searched a lot about this but no results has been made. here are what I've tried so far:

  • diskpart.exe /s "a unc path to diskpart.txt"
  • I mounted the .wim file, added diskpart.txt to system32 folder, commited .wim file, updated distribution points, used this line in command line : diskpart.exe /s "%windir%\system32\diskpart.txt"
  • I created a package containing diskpart.txt and added a program to run this command : diskpart.exe /s diskpart.txt

In the first and second ways, I get this error in smsts.log 

DiskPart was unable to open or read the script file

In the third way I get this error :

Failed to run the action: Run Partition fixer package. The request is not supported. (Error: 80070032; Source: Windows)

Please guide me. Thanks


Mahdi. Ghorbanpour http://yektagostarhezare.ir


Viewing all articles
Browse latest Browse all 9126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>