|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: May 2000
Location: Asia-Singapore
Posts: 461
|
Hi guys, how to make commands in 'logon script' invisible to the client when they log on their win95 machines to a NT. 4 server ? (window script)
moonlight burner
|
|
|
|
|
|
#2 |
|
Registered User
Join Date: Mar 1999
Posts: 355
|
you can do it with Kixtart logon scripts, along with a thousand other things that you can't easily do with dos batch language.
otherwise, you could run a launcher script that would start your login script minimized with something like "start /m login.bat". or you could write a little VB wrapper program to hide your commands. if it's a small environment, I would normally just use a standard script, redirect every command's output to nul, and put in a MOTD, as long as it's short and sweet the users don't get board. what's up, are your users breaking out before the script finishes? |
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: May 2000
Location: Asia-Singapore
Posts: 461
|
Hello WickedLittleSlaveBoy, no , it isn't that they are breaking up before the script finished. Is because the client pc runs pretty slow(pentium 166-233 MHZ ), such that they can read the script quite clearly, So is sometimes cumbersome to explain to them when they ask 'what is these...".
I 'll check out the tips , thanks ! moonlight burner |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Mar 1999
Posts: 355
|
oh, I see...yeah, then just do like I suggested. redirect your output to nul.
@echo off net use X: \\server\share > nul then use the space for some message. echo Good Morning users, blah blah blah blah echo blah blah blah blah blah blah blah blah echo blah blah blah blah blah blah blah blah echo blah blah blah blah blah blah blah blah echo blah blah blah blah blah blah blah blah echo blah blah blah blah blah blah blah blah |
|
|
|
|
|
#5 |
|
Member (12 bit)
Premium Member
Join Date: Mar 1999
Location: LA, CA
Posts: 2,227
|
test.bat
@echo sssssssssss > nul: @newbat.bat > nul: then run x.bat > nul: Just in case |
|
|
|
|
|
#6 |
|
Member (9 bit)
Join Date: May 2000
Location: Asia-Singapore
Posts: 461
|
Hi bob and WickedLittleSlaveBoy
Your 'nul' trick does the 'stealth' job well ! What I did were to run the test.bat as in : echo off net time \\server /set /yes > nul net use h: \\server\postoffice > nul net use j: \\server\datame > nul net use s: \\server\sharewoes > nul net use t: \\server\meetduke > nul Though I still can see the 'echo off' command when I ran the script .But the rest of the commands were not displayed .Though I don't quite understand what it does. "@echo sssssssssss > nul: @newbat.bat > nul: then run x.bat > nul: " by Bob," I did'nt quite inteprete these commands.But anyway... Thanks ! Someone save my life tonight ! moonlight burner |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|