Notification

Icon
Error

dotNET framework 3.5 deployment

Posted: Monday, July 1, 2019 10:33:03 AM(UTC)
TCI

TCI

Member Original PosterPosts: 3
0
Like
On each version update of Windows we face a similar challenge d'oh!
We created a command to install the .NET 3.5 in Windows 10 v 1906.

Quote:
dism /online /loglevel:4 /Add-Package /PackagePath:"\...\microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab" /NoRestart


On Windows v1809 this was still working.
However on v1906 the deployment fails due to lack of elevated permissions.
We always install with Scanning Credentials as this account is also local admin on all assets however
it seems DISM requires the NAME administrator for these elevated permissions.
The default account ADMINISTRATOR however is disabled by global company policy.

So if I run the above from a CMD box that was "run as administrator" it's working fine.
My question is: How can I run the same command from the Deployment screen in LANsweeper with these elevated permissions?

Kind regards
chrism010
#1chrism010 Member Posts: 2  
posted: 7/10/2019 3:22:47 PM(UTC)
Have you tried just running as system account? Thats what i run most of our deployments on since its basically god mode on computer.
Esben.D
#2Esben.D Member Administration Posts: 1,768  
posted: 7/12/2019 8:51:05 AM(UTC)
System account might indeed work.
Ramezi
#3Ramezi Member Posts: 6  
posted: 7/15/2019 3:49:15 PM(UTC)
Just curious how were you able to get this to script to install the complete 3.5 .net framework on a Win10, without any error messages.... error: 0x800F0906, 0x800F081F, 0x800F0907...
Using this script...
dism /online /loglevel:4 /Add-Package /PackagePath:"\...\microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab" /NoRestart

Im running into errors listed above running it in PowerShell and CMD elevated...

Thank you..TCI

Active Discussions

Lansweeper how to add windows and office licenses manually.
by  cesar.ti   Go to last post Go to first unread
Last post: 8/23/2019 7:32:10 PM(UTC)
Lansweeper User roles and permissions
by  RKCar  
Go to last post Go to first unread
Last post: 8/23/2019 6:23:38 PM(UTC)
Lansweeper Deployment condition
by  RKCar   Go to last post Go to first unread
Last post: 8/23/2019 4:07:30 PM(UTC)
Lansweeper HP Printer not showing correctly
by  JacobH  
Go to last post Go to first unread
Last post: 8/23/2019 1:32:54 PM(UTC)
Lansweeper Moving Assets in Location not Saving
by  brodiemac   Go to last post Go to first unread
Last post: 8/23/2019 12:23:04 PM(UTC)
Lansweeper Scanning includes IOS devices even though I exclude them??
by  steveb  
Go to last post Go to first unread
Last post: 8/22/2019 11:05:33 PM(UTC)
Lansweeper lsagent not scanning/sending when using relay
by  Esben.D   Go to last post Go to first unread
Last post: 8/19/2019 12:31:02 PM(UTC)
Lansweeper Check if Netbios is disabled over TCP/IP
by  TaherMD  
Go to last post Go to first unread
Last post: 8/19/2019 6:00:51 AM(UTC)