Jump to content

One PC refuses to run script! Help!!!


Recommended Posts

Posted

Why oh why has one computer on the whole domain decided to stop ruuning my printer script??? It has worked recently. I have checked all the usual stuff, DNS, server connection, taken it off the domain and back on.

 

All the other GPs work ie, redirection of doc folder, restrictions etc. But even when I copy the printer script (which simply adds a printer depending on machine name) to the desktop of the local PC and run it, it doesn't work. There are no error messages thrown up. It's a mystery.

 

I did wonder whether it's permissions, but I have tried to run the script when logged on as administrator.

 

Has anyone got any ideas?

Posted

Check that Simple File Sharing is disabled. It has just come to light for many of us that this little setting is home to a world of woes.

Control Panel - Folder Options - View and it's at the bottom. Untick.

Posted

Log on to PC as admin

Copy the script to the C:\TEMP on the PC

Run a CMD session

Change to C:\TEMP

Execute script by enter CSCRIPT.EXE (full scriptname including extension)

Look for errors.

 

Failing that, post the script. Maybe we can improve the internal error checking within it.

Posted
You'll never beleive this. I just went back to the offending PC and a pupil was logged on and the script had worked!!! Typical. I will keep my eye on it but it looks like I must put it down to those dastardly printer gremlins we all know so well!

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. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...