Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Public Computer

Status
Not open for further replies.

mikenb

Technical User
Apr 1, 2003
22
0
0
PT
Hi,

I Have a server that is a Public Computer where everyone on the company can logon, and i don´t want to run the logon script of the Domain. I have a GPO for this machine.
I can I do this?

Thanks to all!

MikeNB
 
Yeah, put this at the top of your logon script (Obviously convert to whatever language you are using)

IF This_Machine Equals Public_Server Then Exit Logon Script

I use Kixtart for my Login Script and the syntax would be.

IF (@WKSTA = "Server Name")
exit
ENDIF

-Al
 
Another ways is as follows

IF %COMPUTERNAME% == ServerName GOTO EXIT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top