ThankYou @dadoonet for quick reply and support
I installed x-pack successfully and when I run elastic search after installing x-pack, the following error occurs and it stops itself.
C:\Users\akankshaT\Desktop\Hotify\softwares\elasticsearch-5.4.0\elasticsearch-5.
4.0\bin>elasticsearch
'findstr' is not recognized as an internal or external command,
operable program or batch file.
2017-07-12 10:48:19,763 main ERROR Could not register mbeans java.security.Acces
sControlException: access denied ("javax.management.MBeanTrustPermission" "regis
ter")
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:472)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrust
Permission(DefaultMBeanServerInterceptor.java:1848)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(D
efaultMBeanServerInterceptor.java:322)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.j
ava:522)
at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfi
gure(Server.java:167)
at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfi
gure(Server.java:140)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo
ntext.java:556)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:
261)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log
4jContextFactory.java:206)
at org.apache.logging.log4j.core.config.Configurator.initialize(Configur
ator.java:221)
at org.apache.logging.log4j.core.config.Configurator.initialize(Configur
ator.java:197)
at org.elasticsearch.common.logging.LogConfigurator.configureStatusLogge
r(LogConfigurator.java:126)
at org.elasticsearch.common.logging.LogConfigurator.configureWithoutConf
ig(LogConfigurator.java:68)
at org.elasticsearch.cli.Command.main(Command.java:85)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84)
2017-07-12 10:48:22,091 main ERROR Could not register mbeans java.security.Acces
sControlException: access denied ("javax.management.MBeanTrustPermission" "regis
ter")
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:472)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrust
Permission(DefaultMBeanServerInterceptor.java:1848)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(D
efaultMBeanServerInterceptor.java:322)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.j
ava:522)
at org.apache.logging.log4j.core.jmx.Server.register(Server.java:389)
at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfi
gure(Server.java:167)
at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfi
gure(Server.java:140)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo
ntext.java:556)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:
261)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:117)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:84)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:326)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123
)
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:
114)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
eCommand.java:67)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
22)
at org.elasticsearch.cli.Command.main(Command.java:88)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84)
[2017-07-12T10:48:25,583][INFO ][o.e.n.Node ] [] initializing ...
[2017-07-12T10:48:26,425][INFO ][o.e.e.NodeEnvironment ] [WXVPNEi] using [1]
data paths, mounts [[(C:)]], net usable_space [20.9gb], net total_space [115.5gb
], spins? [unknown], types [NTFS]
[2017-07-12T10:48:26,425][INFO ][o.e.e.NodeEnvironment ] [WXVPNEi] heap size
[247.5mb], compressed ordinary object pointers [unknown]
[2017-07-12T10:48:44,306][INFO ][o.e.n.Node ] node name [WXVPNEi]
derived from node ID [WXVPNEiERGehyIQXr-5n7A]; set [node.name] to override
[2017-07-12T10:48:44,306][INFO ][o.e.n.Node ] version[5.4.0], pid[
2468], build[780f8c4/2017-04-28T17:43:27.229Z], OS[Windows 8/6.2/x86], JVM[Oracl
e Corporation/Java HotSpot(TM) Client VM/1.8.0_91/25.91-b15]
[2017-07-12T10:48:56,969][INFO ][o.e.p.PluginsService ] [WXVPNEi] loaded mod
ule [aggs-matrix-stats]
[2017-07-12T10:48:56,969][INFO ][o.e.p.PluginsService ] [WXVPNEi] loaded mod
ule [ingest-common]
[2017-07-12T10:48:56,969][INFO ][o.e.p.PluginsService ] [WXVPNEi] loaded mod
ule [lang-expression]
[2017-07-12T10:48:56,969][INFO ][o.e.p.PluginsService ] [WXVPNEi] loaded mod
ule [lang-groovy]
[2017-07-12T10:48:56,969][INFO ][o.e.p.PluginsService ] [WXVPNEi] loaded mod
ule [lang-mustache]
[2017-07-12T10:48:56,969][INFO ][o.e.p.PluginsService ] [WXVPNEi] loaded mod
ule [lang-painless]
[2017-07-12T10:48:56,969][INFO ][o.e.p.PluginsService ] [WXVPNEi] loaded mod
ule [percolator]
[2017-07-12T10:48:56,969][INFO ][o.e.p.PluginsService ] [WXVPNEi] loaded mod
ule [reindex]