HodgeHi Posted June 20, 2006 Posted June 20, 2006 Hello all, I am currently setting up a build for RIS to distribute out to around 50 machines. One part of this is to set an environmental variable for the room so that con2prt can select the right print queue. Instead of imaging the machines and then editing the autoexec bat for each room, is there an easier way i can roll this out. I don't want to have to visit 50 PCs individually just to set the autoexec.bat. I was thinking of using the computername variable to do this in the autoexec but couldn't get it to work. The computernames are like roomname-1 in increments. If possible to do it from login scripts via GPO then would be great also. Thanks for any help in advance.
NetworkGeezer Posted June 20, 2006 Posted June 20, 2006 Why are you using autoexec.bat? The usual practice is to have automatic printer selection via logon scripts. The COMPUTERNAME variable should be availible when a user logs on. I think for NT based versions of MS Windows autoexec.bat is ignored any way.
Ric_ Posted June 20, 2006 Posted June 20, 2006 chck out the scripts section fo a pre-built script by ME
fooby Posted June 21, 2006 Posted June 21, 2006 I have used PolicyMaker Registry Extension (free!!) and group policies to set the environment variable per OU, this works pretty well (I can post a howto if needed) However I use a utility called psprint (v.hard to find on google I can attach) this has an INI file and takes the part of the computername and adds printers based on this. fooby
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now