humbletech99 Posted May 30, 2006 Report Share Posted May 30, 2006 I've got a batch file as follows:secedit /refreshpolicy machine_policysecedit /refreshpolicy user_policypausebut this results in the first command looping infintely in the cmd window! If I type it in manually in the cmd window it works fine.why is this? Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted May 30, 2006 Report Share Posted May 30, 2006 Are you using 2000, xp, 2003? If you are using anything higher then 2003, use gpupdate. Quote Link to comment Share on other sites More sharing options...
humbletech99 Posted May 31, 2006 Author Report Share Posted May 31, 2006 yes I know, but 2000 doesn't have this.found the cause of the loop though, I called the batch secedit so it called itself instead of the command! doh.sorted now thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.