Posted September 21, StringingLong 2 Posted September 21, Try: RequireAdmin at the top of your script. See if that solves the non-admin problem. If I got him correctly, the users are just "user", by that they will be popped up to enter admin credetials which they propably don't have Regards, Rudi. Colyn 8 Posted September 21, Posted October 4, Colyn 8 Posted October 4, Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community.
Register a new account. Sign in Already have an account? Sign In Now. Followers 0. This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread. I have the same question 2. Report abuse. Details required :. Cancel Submit. CreateObject "WScript. Shell" 'Add Network printers objNetwork.
Not sure if it's GPO but I was getting permission denied messages when trying to save a file to the root! It was resolved once I took ownership of the root. Hi I have been using this for years, server , xp pro stations rundll32 printui. Red Flag This Post Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. Close Box. A pointer to a null-terminated string that specifies the name of a printer to which the current user wishes to establish a connection.
This is a blocking or synchronous function and might not return immediately. How quickly this function returns depends on run-time factors such as network status, print server configuration, and printer driver implementation factors that are difficult to predict when writing an application.
Calling this function from a thread that manages interaction with the user interface could make the application appear to be unresponsive.
0コメント