Technology Reviews and How To's

Sunday, April 5, 2015

A Restart from a Previous Installation is Pending

Browse: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\

Delete Key: PendingFileRenameOperations
Posted by Tamer Esam at 12:00 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Thursday, April 2, 2015

How to check if a service is not running and start it via batch

net start | find SERVICENAME > nul 2>&1
if not .%errorlevel%.==.0. goto startservice
goto skip

:startservice
net start SERVICENAME
echo service restarts @ %date% %time% >> C:\checklog.txt


Posted by Tamer Esam at 4:13 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

My photo
Tamer Esam
View my complete profile

Blog Archive

  • ►  2016 (15)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (2)
    • ►  January (8)
  • ▼  2015 (5)
    • ►  September (3)
    • ▼  April (2)
      • A Restart from a Previous Installation is Pending
      • How to check if a service is not running and start...
  • ►  2014 (8)
    • ►  September (2)
    • ►  July (1)
    • ►  March (1)
    • ►  January (4)
  • ►  2013 (18)
    • ►  December (4)
    • ►  October (2)
    • ►  September (2)
    • ►  August (3)
    • ►  July (7)
  • ►  2012 (1)
    • ►  February (1)
  • ►  2011 (8)
    • ►  September (8)
Picture Window theme. Powered by Blogger.