I was following this guide on adding command line logging to my GPO. I verified that the current GPO has these settings.
Here is what I did to test, I simply created a directory, deleted it, also ran ipconfig, net share and was unable to find those commands expect for ipconfig in the logs. Is there anything else I need to do maybe in the input.conf file?
EDIT: Seems like mkdir and rmdir do not show up in the logs but all others do. Does anyone know why?
As far as I know and experienced enabling cmd line logging. You need to make changes in only group policy.
once you are done with you are good to go. You don’t need to make any changes in inputs.conf
I think it is because commands like dir, ls, cd are internal commands but commands like ping, ipconfig are external commands and they are executable files also (ping.exe, tracert.exe) and they don't create any process. so I think we can't get internal commands logs. If there are any way please let me know
Yeah I was confusing powershell logging with cmd. They are both turned on through the GPO but it seems like I need to go into inputs.conf for powershell logging and make a stanza.
As far as I know and experienced enabling cmd line logging. You need to make changes in only group policy.
once you are done with you are good to go. You don’t need to make any changes in inputs.conf