Click here to Skip to main content
16,013,440 members

Comments by shreyassv (Top 3 by date)

shreyassv 16-Feb-17 23:58pm View    
Thanks. I found the problem my program was calling 32-bit dism but my system has 64-bit operating system. so i did few changes to identify system architecture and call dism based on that
shreyassv 16-Feb-17 7:24am View    
its launching bat file without + @"\" + and with + @"\" +, the location of bat is correct. But its failing to execute the steps inside batch script. But it works when i right click on bat file and do run as administrator.
bat file code is below


@ECHO PLEASE DO NOT CLOSE THIS WINDOW
@ECHO ********************************
@ECHO OFF

START /WAIT DISM /Online /Enable-Feature /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-ASP /FeatureName:IIS-ASPNET /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-CGI /FeatureName:IIS-ClientCertificateMappingAuthentication /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-CustomLogging /FeatureName:IIS-DefaultDocument /FeatureName:IIS-DigestAuthentication /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-FTPExtensibility /FeatureName:IIS-FTPServer /FeatureName:IIS-FTPSvc
shreyassv 16-Feb-17 7:01am View    
I tried this,its not working