Just a place for dumping info I've learnt in IT and other stuff. My online note storage.

Browsing Posts tagged Batch

Batch file guide Batch file guide

Created this as was forever doing it on machine where it was decided not to roll it out over AD. So I did it on an individual bases. Annoying having to go to gpedit.msc all the time to set these settings. So created a batch file to put it directly into the registry, just when […]

UPDATE: Better command is this REG DELETE HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Security /f REG DELETE HKLM\SOFTWARE\Classes\AppID\{ce166e40-1e72-45b9-94c9-3b2050e8f180} /f Stick that in a batch file and run it. It appears to fix the issue totally then. Also referenced on the MS link below. END UPDATE You attempt to start the Firewall in control panel and get this. Then this Run a […]

In notepad type dsadd user “cn=%1, ou=OUName, dc=YourDomain, dc=YourSuffix” -fn %2 -ln %3 -pwd fred -mustchpwd yes Save as a bat file. cn = command name (user name) fn = first name ln = Last name Everything in bold you replace with your own info. Name the file whatever, like adduser.bat Example: adduser testdummy Test […]

Bad Behavior has blocked 81 access attempts in the last 7 days.