lord-carlos / nvidia-update

Checks for a new version of the Nvidia Driver, downloads and installs it.
MIT License
147 stars 30 forks source link

The operation being requested was not performed because the user has not logged on to the network. #37

Closed OmbertoOreily closed 2 years ago

OmbertoOreily commented 3 years ago

When the script goes to download the new driver, an error is given that the Start-BitsTranfer could not be performed because the user has not logged into the network.

  `Attempting to detect currently installed driver version...
  Installed version     462.31
  Latest version        471.68
  Downloading the latest version to C:\Users\ADMINI~1\AppData\Local\Temp\NVIDIA\471.68.exe
  Start-BitsTransfer : The operation being requested was not performed because the user has not logged on to 
  the network. The specified service does not exist. (Exception from HRESULT: 0x800704DD)
  At line:134 char:1
  + Start-BitsTransfer -Source $url -Destination $dlFile
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : NotSpecified: (:) [Start-BitsTransfer], COMException
      + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.BackgroundIntelligentTran 
     sfer.Management.NewBitsTransferCommand

  Download failed, trying alternative RP package now...
  Start-BitsTransfer : The operation being requested was not performed because the user has not logged on to 
  the network. The specified service does not exist. (Exception from HRESULT: 0x800704DD)
  At line:141 char:5
  +     Start-BitsTransfer -Source $rp_url -Destination $dlFile
  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : NotSpecified: (:) [Start-BitsTransfer], COMException
      + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.BackgroundIntelligentTran 
     sfer.Management.NewBitsTransferCommand

  Download finished, extracting the files now...
  Get-Content : Cannot find path 'C:\Users\ADMINI~1\AppData\Local\Temp\NVIDIA\471.68\setup.cfg' because it does 
  not exist.
  At line:164 char:2
  + (Get-Content "$extractFolder\setup.cfg") | Where-Object { $_ -notmatc ...
  +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (C:\Users\ADMINI...71.68\setup.cfg:String) [Get-Content], ItemN 
     otFoundException
      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

  Installing Nvidia drivers now...
  Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
  At line:173 char:1
  + Start-Process -FilePath "$extractFolder\setup.exe" -ArgumentList $ins ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
      + FullyQualifiedErrorId : InvalidOperationException,`

Thanks for all your help!

OmbertoOreily commented 2 years ago

An issue on my end. Sorry for the trouble!