I don't know if it should be like this. When I'm trying to do anything with xp_cmdshell
procedure it almost every time gives me Access Denied
.
For example I can't create new .txt
file, can't create new user, nothing. I'm logged in with windows administrator user.
Is there any way to run this procedure with administrator privileges?