Asked by:
nano server 2016 GA \ RTM 10.0.14393.0

Question
-
---------------windows server 2016 & windows 10 Evaluation Editions--> downloaded from microsoft official web sites--------------------------------------
host --> windows 10 (Major Minor Build Revision
----- ----- ----- --------
10 0 18363 0)
(build 18362.19h_release.190318-1202)
-----------------------------------------------------------------
guest -->1} domain controller(windows server 2016) --> Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0
(build 14393.rs1_release.180427-1804)
-------------------------------------------------
guest -->2} member server1 (windows server 2016)
---Same as Above
------------------------------------------------
guest -->3} member server2 (windows servrer 2016)
----Same As Above
--------------------------------------------------
guest -->4} nano server1 (windows server 2016) -->Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0
Version Build Number
GA \ RTM 10.0.14393.0
===
Name Version DynamicOptions
---- ------- --------------
NanoServerPackage 1.0.1.0 ToVhd, FromVhd, DisplayCulture, Culture, ImagePath, Default
NuGet 2.8.5.205 Destination, ExcludeVersion, Scope, Headers, FilterOnTag, Contains, AllowPrereleaseVersions, ConfigFile, SkipValidate
PowerShellGet 1.0.0.1 PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, InstallUpdate, NoPathUpdate, Filter, Tag, Includes, DscResource, RoleCapability, Comm...
====
=====
Name Version Source ProviderName
---- ------- ------ ------------
Package_for_KB4132216 10.0.1.0 Local Machine NanoServerPackage
Microsoft-Windows-ServerDat... 10.0.14393.0 Local Machine NanoServerPackage
Package_for_KB4091664 10.0.5.0 Local Machine NanoServerPackage
Microsoft-Windows-Foundatio... 10.0.14393.0 Local Machine NanoServerPackage
Package_for_RollupFix 14393.2580.1.9 Local Machine NanoServerPackage
Microsoft-NanoServer-Guest-... 10.0.14393.0 Local Machine NanoServerPackage =====
======
Name InstallationPolicy SourceLocation
---- ------------------ --------------
PSGallery Untrusted https://www.powershellgallery.com/api/v2 ======
-------------------------------------------------
guest -->4} nano server2 (windows server 2016)
----same as above
------------------------
i know nanoserverpackage provider does not support PowerShell Direct so i tried using PowerShell Remoting & I was successfull in installing "NanoServerPackage" Provider.
i have already installed all updates. Firtst i had added nano server to domain but it failed with following PSCmdlts, same with non domain member.
i have searched extensively over internet for below errors but in vain.
----i tried this as well(as given in one of the forum) --
Save-HTTPItemUsingBitsTransfer
\\192.168.1.130\c$\Program Files\WindowsPowerShell\Modules\NanoServerPackage\1.0.1.0\NanoServerPackage.psm1
\\192.168.1.130\c$\Program Files\WindowsPowerShell\Modules\NanoServerPackage\1.0.1.0\savehttpitemusingbits.psm1
i disabled 3 lines in nanoserverpackage.psm1 on nano server and replaced it with a line of code as specified by the author--> not it is not giving error "Bits transfer...." but still not able to download a package
------------------
install-PackageProvide -Name NanoSeverPackage -verbose --> success
import-PackageProvider -Name NanoServerPackage --verbose --> success
i have installed Nano server(GA/RTM 10.0.14393.0, windows 2016 data center) on Windows 10(10.0.18363.0) Host hyper-v(i have downloaded Evaluation Version of w2k16 & w10 from microsoft official websit).
i have successfully installed NanoServerPackage Provider as well as imported it successfully.
i know nanoserverpackage provider does not support PowerShell Direct so i installed it using PowerShell Remoting & I was successfull in installing "NanoServerPackage" Provider. i have already installed all updates.
1}but if i execute following pscmdlet i.e. "Find-NanoServerPackage" i get following ERROR.
find-NanoServerPackage:
WARNING: Cannot find path 'C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.txt' because it does not exist.
WARNING: WARNING: Save-HTTPItem: Bits Transfer failed. Job State: BG_JOB_STATE_ERROR ExitCode = 0
2} if i try to install any NanoServerPackage e.g." install-Package -name Microsoft-NanoServer-Storage-Package" i get following ERROR, it does Not install NanoServerPackage.
install-Package -name Microsoft-NanoServer-Storage-Package
WARNING: Cannot find path 'C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.txt' because it does not exist.
WARNING: Save-HTTPItem: Bits Transfer failed. Job State: BG_JOB_STATE_ERROR ExitCode = 0
VERBOSE: Total package yield:'0' for the specified package 'Microsoft-NanoServer-Storage-Package'.
Install-Package : No match was found for the specified search criteria and package name 'Microsoft-NanoServer-Storage-Package'. Try Get-PackageSource to see all available registered package sources.
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
i tried to install other NanoServerPackages(e.g. below) but i get the Same Above Error.
install-Package -name Microsoft-NanoServer-DCB-Package
install-Package -name Microsoft-NanoServer-IIS-Packagefind-NanoServerPackage--> Errors
WARNING: Cannot find path 'C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.txt' because it does not exist.
WARNING: Save-HTTPItem: Bits Transfer failed. Job State: BG_JOB_STATE_ERROR ExitCode = 0
install-Package -name Microsoft-NanoServer-Storage-Package --> ErrorsVERBOSE: Using the provider 'NuGet' for searching packages.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Searching repository 'https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft-NanoServer-Storage-Package'' for ''.
VERBOSE: Using the provider 'NanoServerPackage' for searching packages.
VERBOSE: The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Total package yield:'0' for the specified package 'Microsoft-NanoServer-Storage-Package'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft-NanoServer-Storage-Package'' for ''.
VERBOSE: Downloading https://nanoserverpackage.blob.core.windows.net/nanoserver-ga-2016/searchNanoServerIndex.txt to C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.tx
t
WARNING: Cannot find path 'C:\Users\administrator\AppData\Local\NanoServerPackageProvider\searchNanoPackageIndex.txt' because it does not exist.
WARNING: Save-HTTPItem: Bits Transfer failed. Job State: BG_JOB_STATE_ERROR ExitCode = 0
VERBOSE: Total package yield:'0' for the specified package 'Microsoft-NanoServer-Storage-Package'.
Install-Package : No match was found for the specified search criteria and package name 'Microsoft-NanoServer-Storage-Package'. Try Get-PackageSource to see all available registered package sources.
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackageinstall-Package -name Microsoft-NanoServer-DCB-Package --> Same Above Errors
install-Package -name Microsoft-NanoServer-IIS-Package --> Same Above Errorsi have left no stone unturned but in vailn, i have almost exhausted all options,i am not yet given up.
Kindly reply ASAP if Possible, your reply will be highly appreciated, thank you so much in advance. thanks again Sir..
- Edited by Nebula-IT Monday, April 6, 2020 1:10 AM
Sunday, April 5, 2020 4:01 PM
All replies
-
Hi,
For update nano server, we should download update package to other machine from Windows update catalog and then use the EXPAND utility to extract the .cab files from the .msu files into separate directories and copy the .cabs into a share folder. Then try to add update package to VHD on offline nano server VM or running nano server VM.
Here is a link for reference.
However, if you encounter issue with command, we recommend to ask for help from PowerShell support, they should more familiar with command line.
Bests,
" Please note that new questions regarding ‘Windows 10 Installation, Setup, and Deployment’ could NOT be posted in this forum anymore. This thread could be followed up until Mar-30th. We will be moving your thread to Microsoft Q&A if the deadline is missed. Register our new platform Microsoft Q&A (Preview)! for new questions or discussion. Check more details on sticky post.
Tuesday, April 7, 2020 9:30 AM -
hi,
thank you so much for your reply. i have installed all updates on nano server, last 3 digits --> 1}kb...216
2}kb...664, 3}kb...928.
i tried installing nano server package using Powershell Remoting as nano server does not support Powershell Direct for installing nano serve package.
i spent lot of time researching on nono server over internet.
i even made change to --> c:\program files\windowsPowershell\moduel\local\nanoserver\1.0.1.0.1\NANOSERVER.psm1 on nano server.
i event knew the problem that it was searching wrong Provider and the wrong provider was looking up in wrong repository i.e. its repository instead of NanoServerPackage Provider.
but thankfully some one replied to my query and informed me that microsoft has removed Nano server and powershell for docker in 70-740 exam.
nonetheless thank you so much for reply, i really appreciate it.
Tuesday, April 7, 2020 9:54 AM -
Hi,
Thank you for your reply.
yes, Microsoft has removed nano server, I think the server core would be take a similar role as nano server, we could use server role instead for a lightweight operating system.
By the way, I noticed you add nano server to domain but failed, however, I found nano server it not support join domain with PowerShell command line. Please see :PowerShell on Nano Server
If any reply is useful for you, please mark it as answer.
Bests,
" Please note that new questions regarding ‘Windows 10 Installation, Setup, and Deployment’ could NOT be posted in this forum anymore. This thread could be followed up until Mar-30th. We will be moving your thread to Microsoft Q&A if the deadline is missed. Register our new platform Microsoft Q&A (Preview)! for new questions or discussion. Check more details on sticky post.
Tuesday, April 14, 2020 8:42 AM