03 September 2010, 20:12 *
Welcome, Guest. Please login or register.
News:
 
   Home   Help Search  
Pages: [1]
  Print  
Author Topic: Rangerinstall Logon Scipt.  (Read 281 times)
RichB
Newbie
*
Posts: 1


View Profile
« on: 27 November 2009, 15:40 »

Hello Everyone,

I just need a quick bit of help if i may. For reasons that i wont go into here, we resently lost all of our logon scripts I've managed to restore most of them from a backup, however we did not have a backup of our rangerinstall and rangerremove logon scripts.

It's something I just took for granted as working so im at abit of a loss when it comes to rewriting it.

Im just wondering if someone could help, by posting their logon install script. - I'd be most greatful.


Thanks in advance.

Rich
Logged
kentonmaar
Full Member
***
Posts: 108


View Profile WWW
« Reply #1 on: 07 December 2009, 18:16 »

Hi,

This may help as a framework for you.

@ECHO OFF
cls

IF EXIST c:\COMMAND.COM GOTO WIN9X

rem **Windows NT/2000/XP Logon**

:WINXP
NET USE I: \\servername\APPLIC /PERSISTENT:NO
NET USE O: \\servername\SHARED /PERSISTENT:NO
rem For Managers ONLY - NET USE U: \\servername\USERS$ /PERSISTENT:NO

rem **Start Network Printer Connection Batch File for con2prt users**
rem CALL \\servername\NETLOGON\PRINTERS.BAT

GOTO COMMON

rem **Windows 9x/Me Logon**

:WIN9x

NET USE H: /HOME
NET USE I: \\servername\APPLIC
NET USE O: \\servername\SHARED
rem For Managers ONLY - NET USE U: \\servername\USERS$

:COMMON

NET TIME \\servername /SET /YES

:END



Rgds
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!