Administrators AWS Posted May 1, 2013 Administrators Posted May 1, 2013 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 "~DP0Windows6.1-KB958830-x64-RefreshPkg.msu" /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] "Start_SearchFiles"=dword:00000002 "ServerAdminUI"=dword:00000000 "Hidden"=dword:00000001 "ShowCompColor"=dword:00000001 "HideFileExt"=dword:00000000 "DontPrettyPath"=dword:00000000 "ShowInfoTip"=dword:00000001 "HideIcons"=dword:00000000 "MapNetDrvBtn"=dword:00000000 "WebView"=dword:00000001 "Filter"=dword:00000000 "SuperHidden"=dword:00000000 "SeparateProcess"=dword:00000000 "AutoCheckSelect"=dword:00000000 "IconsOnly"=dword:00000000 "ShowTypeOverlay"=dword:00000001 "ListviewAlphaSelect"=dword:00000001 "ListviewShadow"=dword:00000001 "TaskbarAnimations"=dword:00000001 "Start_ShowMyGames"=dword:00000000 "StartMenuInit"=dword:00000004 "Start_AdminToolsRoot"=dword:00000000 "StartMenuAdminTools"=dword:00000001 "Start_MinMFU"=dword:0000000a "Start_JumpListItems"=dword:0000000a "TaskbarSizeMove"=dword:00000000 "DisablePreviewDesktop"=dword:00000000 "TaskbarSmallIcons"=dword:00000000 "TaskbarGlomLevel"=dword:00000000 "Start_PowerButtonAction"=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 € "€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 " 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 " / 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 " 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 " / 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><˘Ŕ ¬ 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
Recommended Posts