-1

Need help with a batch file to clear CSC.

I found a way how to by

REG ADD "HKLM\System\CurrentControlSet\Services\CSC\Parameters" /v FormatDatabase /t REG_DWORD /d 1 /f

Is there way to way to do this with batch file for Windows 7?

7
  • Just put that command inside the batch file. Where are you getting stuck exactly? Nov 3, 2015 at 21:10
  • When start the bat file erreur ( can't find)
    – aigle
    Nov 3, 2015 at 22:01
  • The raison for the have user using windows 7 get slow when try to open the session work.
    – aigle
    Nov 3, 2015 at 22:02
  • Please edit your question and specify can't find: can't find what? (copy&paste from your cmd window).
    – JosefZ
    Nov 3, 2015 at 23:17
  • Hello there Way to start that bat file :
    – aigle
    Nov 4, 2015 at 21:37

1 Answer 1

0

You should put the same command in a batch file, and it should work correctly (Not tried it myself, and it added the registry key.)

You just have to make sure to execute the batch file as administrator (Right click>Run As Administrator), since you need admin rights to add a registry key.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .