Reputation: 14953
how to make script file (bat) that make 2 actions
i need to delete any policies (if there is) in:
[HKEY_LOCAL_MACHINE/SOFTWARE/policies]
i need to run this (in command mode - cmd):
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
is there any way to do it in one script file ?
thanks in advance
Upvotes: 0
Views: 112
Reputation: 1072
REG.EXE DELETE \\%COMPUTERNAME%\HKLM\SOFTWARE\policies /va /f
CMD.EXE /C C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
Upvotes: 1