Environment variables or other method
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.
Re: Environment variables or other method
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.
Re: Environment variables or other method
chck out the scripts section fo a pre-built script by ME :D
Re: Environment variables or other method
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