If you want to differentiate between document user and admins you will need to use section access in your document. Check this thread that goes along the process of building a batch file and a section access accordingly to this principle.
All users in section access table with ADMIN value in the ACCESS field will be able to open, edit, and save the document. However, users with USER value in ACCESS field will only be granted with those permissions you have set up for users in the Security tab of the Document Properties in the Settings menu.
This is the same thread I read to build my batch file . In fact I added my user under NTNAME as ADMIN and I'm not prompted for login while the batch file is running.
I have a section access in my qvw but if I uncheck del two properties I described before because I don't wont USER can be able to do save o reload data, the batch file does not work. No error is raised but I don't have the security file updated.