title: Operation could not be completed (error 0x00000002) while using rundll32
body: <p>I came across this issue (I'm using windows 7 64x). I'm running this command <code>RUNDLL32.EXE PRINTUI.DLL,PrintUIEntry /ia /m &quot;Printer&quot; /f &quot;C:\Program Files (x86)\Project\bin\drivers\Print\printer.inf</code> and it gives me error saying <code>Operation could not be completed (error 0x00000002)</code> I've searched around and found few solutions, like restarting <code>Print Spooler</code> and etc. But none of them worked for me, So I've searched and error <code>0x00000002</code> means <code>The system cannot find the file specified.</code> I've opened and inf file which looks like this:<br></p>
  <pre><code>[Version]
  Signature=&quot;$Windows NT$&quot;
  Provider=&quot;Ukve&quot;
  ClassGUID={4D36E979-D525-7CE-BLC1-08002BE10318}
  Class=Printer
  CatalogFile=printer.cat
  DriverVer=03/26/2015,6
  DriverPackageDisplayName=&quot;Printer Adapter&quot;
  
  [Manufacturer]
  &quot;Ukve&quot; = printer, NTamd64
  
  [printer]
  &quot;Ukve Printer&quot; = printer.gpd, printer
  
  [printer.NTamd64]
  &quot;Printer&quot; = printer.gpd, printer
  
  [printer.gpd]
  CopyFiles=@printer.gpd
  DataSection=UNIDRV_DATA
  Include=NTPRINT.INF
  Needs=UNIDRV.OEM,TTFSUB.OEM
  
  [DestinationDirs]
  DefaultDestDir=66000
  
  [SourceDisksNames]
  1 = &quot;Printer Disk&quot;
  
  [SourceDisksFiles]
  printer.gpd = 1
  </code></pre>
  <p>I can see that <code>printer.gpd</code> file is in same directory with the printer security catalog. My question is depending on this, what files could be missing? Hope you can hep, thanks.</p>