Jump to content
Microsoft Windows Bulletin Board

Recommended Posts

  • Administrators
Posted

Hi All, I am trying to install the Remote Server Administrative Tools (Windows6.1-KB958830-x64-RefreshPkg) via CMD files because i want to automatize not only the installation of the update but also turn this feature on. So i made three cmd files: The

first is calling two others: call %~DP0Source.cmd call %~DP0Settings.cmd The Source cmd contains the data: wusa.exe &quot~DP0Windows6.1-KB958830-x64-RefreshPkg.msu&quot /norestart /quiet /log:install.log And the Settings contains: dism /online /enable-feature

/featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-ServerManager dism /online /enable-feature /featurename:RemoteServerAdministrationTools

/featurename:RemoteServerAdministrationTools-Roles dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-CertificateServices dism /online /enable-feature /featurename:RemoteServerAdministrationTools

/featurename:RemoteServerAdministrationTools-Roles-CertificateServices-CA dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder dism /online /enable-feature

/featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-AD dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-AD-DS dism /online /enable-feature

/featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-AD-DS-NIS dism /online

/enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-AD-LDS dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-AD-Powershell

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-DHCP dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-DNS

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-FileServices dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-FileServices-Dfs

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-FileServices-Fsrm dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-HyperV dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-RDS

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Features dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Features-BitLocker

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Features-Clustering dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Features-GP

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Features-LoadBalancing dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Features-StorageExplorer

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Features-StorageManager dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Features-SmtpServer

dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter dism /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Features-Wsrm

reg import %~DP0StartMenuAdminTools.reg And the StartMenuAdminTools.reg contains: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced] &quotStart_SearchFiles&quot=dword:00000002 &quotServerAdminUI&quot=dword:00000000

&quotHidden&quot=dword:00000001 &quotShowCompColor&quot=dword:00000001 &quotHideFileExt&quot=dword:00000000 &quotDontPrettyPath&quot=dword:00000000 &quotShowInfoTip&quot=dword:00000001 &quotHideIcons&quot=dword:00000000 &quotMapNetDrvBtn&quot=dword:00000000 &quotWebView&quot=dword:00000001 &quotFilter&quot=dword:00000000 &quotSuperHidden&quot=dword:00000000

&quotSeparateProcess&quot=dword:00000000 &quotAutoCheckSelect&quot=dword:00000000 &quotIconsOnly&quot=dword:00000000 &quotShowTypeOverlay&quot=dword:00000001 &quotListviewAlphaSelect&quot=dword:00000001 &quotListviewShadow&quot=dword:00000001 &quotTaskbarAnimations&quot=dword:00000001 &quotStart_ShowMyGames&quot=dword:00000000

&quotStartMenuInit&quot=dword:00000004 &quotStart_AdminToolsRoot&quot=dword:00000000 &quotStartMenuAdminTools&quot=dword:00000001 &quotStart_MinMFU&quot=dword:0000000a &quotStart_JumpListItems&quot=dword:0000000a &quotTaskbarSizeMove&quot=dword:00000000 &quotDisablePreviewDesktop&quot=dword:00000000 &quotTaskbarSmallIcons&quot=dword:00000000

&quotTaskbarGlomLevel&quot=dword:00000000 &quotStart_PowerButtonAction&quot=dword:00000002 My problem is that in SystemContext it installs perfectly but on a single ADMIN account if I run the Install.cmd as and adminstrator i get this error in the LOG file: ÚÁA¦ţąYĎWV

@? I n s t a l l W o r k e r . 0 0 8 8 1 : F a i l e d t o a d d s c a n p a c k a g e s e r v i c e e m¬Ŕ ¤ ¬ ß?n Ś` ÚÁA¦ţąYĎWV @? I n s t a l l W

o r k e r . 0 1 2 8 7 : E x i t w i t h e r r o r c o d e 0 X 8 0 0 7 0 4 2 2 ( T h e s e r v i c e c a n n o t b e s t a r t e d , e i t h e r b e c a u s e i t i s d i s a b l e d o r b e c a u s e i t h a s n o

e n a b l e d d e v i c e s a s s o c i a t e d w i t h i t . ) ŞŞŞŞ,Ŕ ¬ ­ĺ?n Ś` ÚÁA¦ţąYĎWV @ R e b o o t I f R e q u e s t e d . 0 1 4 4 6 : R e b o o t i s n o t s c h e d u l e d

. I s R u n W i z a r d S t a r t e d : 0 , I s R e b o o t R e q u i r e d : 0 , R e s t a r t M o d e : 1 eg:mŔ ¬ Öç?n Ś` ÚÁA¦ţąYĎWV € &quot€T h e s e r v i c e c a n n o t b e

s t a r t e d , e i t h e r b e c a u s e i t i s d i s a b l e d o r b e c a u s e i t h a s n o e n a b l e d d e v i c e s a s s o c i a t e d w i t h i t . w u s a . e x e &quot Y : L y t h a m _ H O M E D E M B

1 3 5 W i n d o w s 6 . 1 - K B 9 5 8 8 3 0 - x 6 4 - R e f r e s h P k g . m s u &quot / n o r e s t a r t / q u i e t / l o g : i n s t a l l . l o g 7V´Ŕ ¬ Oé?n Ś` ÚÁA¦ţąYĎWV @ w W i n M a i n

. 0 1 9 6 7 : F a i l e d t o i n s t a l l u p d a t e E r r o r : 0 X 8 0 0 7 0 4 2 2 , T h e s e r v i c e c a n n o t b e s t a r t e d , e i t h e r b e c a u s e i t i s d i s a b l e d o r b e c a u s e i t

h a s n o e n a b l e d d e v i c e s a s s o c i a t e d w i t h i t . . C o m m a n d l i n e : w u s a . e x e &quot Y : L y t h a m _ H O M E D E M B 1 3 5 W i n d o w s 6 . 1 - K B 9 5 8 8 3 0 - x 6 4 - R e f r e s h P k g

. m s u &quot / n o r e s t a r t / q u i e t / l o g : i n s t a l l . l o g nt&gt&lt˘Ŕ ¬ Ję?n Ś` ÚÁA¦ţąYĎWV @ w W i n M a i n . 0 1 9 9 8 : E x i t w i t h e r r o r c o d e 0 X 8 0 0 7 0

4 2 2 ( T h e s e r v i c e c a n n o t b e s t a r t e d , e i t h e r b e c a u s e i t i s d i s a b l e d o r b e c a u s e i t h a s n o e n a b l e d d e v i c e s a s s o c i a t e d w i t h i t . ) licen

It is really important for me to install it via these CMD files due to the automatization so I MUST find a solution to get through this ERROR and make it to work. Many Thanks, Gabriel Herdsman

 

View this thread

×
×
  • Create New...