How does Nircmd do some processes without admin privileges?

  batch-file, cmd, command-line, windows

For example, if i want to empty recycle bin, i use rd /s %systemdrive%$Recycle.bin in cmd. But it is necessary to run cmd with administrator privileges. Otherwise, access will be denied.

Besides, there is a small command-line tool called Nircmd. It is only 115 kb. For the process I mentioned, i write nircmd emptybin and there is no need to start Nircmd with admin privileges.

What is the explanation for a batch command I wrote asking administrator privileges when a third-party tool can do this without any privileges?

Source: Windows Questions

LEAVE A COMMENT