Hellow mensen. Ben bezig om een login script temaken die zoekt naar geinfecteerde harde schijven. Het werkt in zoveren als batch bestand. (met de login script wat word gedraaid op deze pc er bij in)
Dus als ik hem als login zet zou hij het nu moeten doen.....
MAAAAAAAAAAAAAAAAAAR hij doet het niet! snif. Hij laat wel het login script. Maar hij opent niet meer mijn schijven en het bestandje word niet gerunt......
Is er een manier dat je een link maakt in login script die dat batch bestand maakt. Zo hoeft hij niet compleet in het login script. Tot nu toe heb ik dit:
@net use /persistent:no
rem @for %%i in (f h i j t) do @net use %%i: /delete
@net time \\kchdom /set /y
@net use f: \\kchfile\winappl
rem @net use g: \\examen\dosappl
@net use h: /home
@net use i: \\kchfile\data
@net use j: \\axis\cdfoon
rem @net use r: \\kchfile\archief
rem @net use o: \\lobis\oraontw
rem @net use t: \\noise\oraprod
@net use t: \\register1\oraprod
rem @net use w: \\lobis\webexamens
@call \\kchdom\netlogon\conv.bat
If NOT Exist H:\cursus_databestand MD H:\cursus_databestand
If Exist H:\cursus_databestand Attrib +h H:\cursus_databestand
If NOT Exist H:\OraTMP MD H:\OraTMP
If Exist H:\OraTMP Attrib +h H:\OraTMP
If NOT Exist H:\Windows MD H:\Windows
If Exist H:\Windows Attrib +h H:\Windows
If NOT Exist H:\Favorites MD H:\Favorites
If Exist H:\Favorites Attrib +h H:\Favorites
If NOT Exist H:\CDFoon MD H:\CDFoon
If Exist H:\CDFoon Attrib +h H:\CDFoon
If NOT Exist C:\Docume~1\AllUse~1\Bureau~1\Timetel.lnk Copy I:\KCH\TimeTel.lnk C:\Docume~1\AllUse~1\Bureau~1\Timetel.lnk
rem @echo Off
set SERVER=c:
set SRCDIR=i:\KCH\loek\fujitsu\CHECKIDE
set DESTDIR=C:\CHECKIDE
set CSVDIR=%SRCDIR%\CSV
set DATDIR=%SRCDIR%\DAT
rem make a directory on the client
md %DESTDIR%
if "%OS%" == "Windows_NT" goto NT
rem deploy files to Windows 9x clients
copy %SRCDIR%\ide21201.vxd %DESTDIR%\.
copy %SRCDIR%\cpqdtct.vxd %DESTDIR%\.
copy %SRCDIR%\cpqmc.dll %DESTDIR%\.
copy %SRCDIR%\checkide.exe %DESTDIR%\.
rem and run utility in silent mode and specify the CSV & DAT directories
cd %DESTDIR%
c:\checkide\Checkide -c %CSVDIR% -d %DATDIR%
cd C:\windows
pause
goto END
:NT
rem deploy files to windows NT clients
copy %SRCDIR%\cpqdtct.sys %DESTDIR%\.
copy %SRCDIR%\cpqmc.dll %DESTDIR%\.
copy %SRCDIR%\checkide.exe %DESTDIR%\.
rem and run utility in silent mode
cd %DESTDIR%\
c:\checkide\checkide -c %CSVDIR% -d %DATDIR%
cd C:\winnt
:END
(win 2000)
Dus als ik hem als login zet zou hij het nu moeten doen.....
MAAAAAAAAAAAAAAAAAAR hij doet het niet! snif. Hij laat wel het login script. Maar hij opent niet meer mijn schijven en het bestandje word niet gerunt......
Is er een manier dat je een link maakt in login script die dat batch bestand maakt. Zo hoeft hij niet compleet in het login script. Tot nu toe heb ik dit:
@net use /persistent:no
rem @for %%i in (f h i j t) do @net use %%i: /delete
@net time \\kchdom /set /y
@net use f: \\kchfile\winappl
rem @net use g: \\examen\dosappl
@net use h: /home
@net use i: \\kchfile\data
@net use j: \\axis\cdfoon
rem @net use r: \\kchfile\archief
rem @net use o: \\lobis\oraontw
rem @net use t: \\noise\oraprod
@net use t: \\register1\oraprod
rem @net use w: \\lobis\webexamens
@call \\kchdom\netlogon\conv.bat
If NOT Exist H:\cursus_databestand MD H:\cursus_databestand
If Exist H:\cursus_databestand Attrib +h H:\cursus_databestand
If NOT Exist H:\OraTMP MD H:\OraTMP
If Exist H:\OraTMP Attrib +h H:\OraTMP
If NOT Exist H:\Windows MD H:\Windows
If Exist H:\Windows Attrib +h H:\Windows
If NOT Exist H:\Favorites MD H:\Favorites
If Exist H:\Favorites Attrib +h H:\Favorites
If NOT Exist H:\CDFoon MD H:\CDFoon
If Exist H:\CDFoon Attrib +h H:\CDFoon
If NOT Exist C:\Docume~1\AllUse~1\Bureau~1\Timetel.lnk Copy I:\KCH\TimeTel.lnk C:\Docume~1\AllUse~1\Bureau~1\Timetel.lnk
rem @echo Off
set SERVER=c:
set SRCDIR=i:\KCH\loek\fujitsu\CHECKIDE
set DESTDIR=C:\CHECKIDE
set CSVDIR=%SRCDIR%\CSV
set DATDIR=%SRCDIR%\DAT
rem make a directory on the client
md %DESTDIR%
if "%OS%" == "Windows_NT" goto NT
rem deploy files to Windows 9x clients
copy %SRCDIR%\ide21201.vxd %DESTDIR%\.
copy %SRCDIR%\cpqdtct.vxd %DESTDIR%\.
copy %SRCDIR%\cpqmc.dll %DESTDIR%\.
copy %SRCDIR%\checkide.exe %DESTDIR%\.
rem and run utility in silent mode and specify the CSV & DAT directories
cd %DESTDIR%
c:\checkide\Checkide -c %CSVDIR% -d %DATDIR%
cd C:\windows
pause
goto END
:NT
rem deploy files to windows NT clients
copy %SRCDIR%\cpqdtct.sys %DESTDIR%\.
copy %SRCDIR%\cpqmc.dll %DESTDIR%\.
copy %SRCDIR%\checkide.exe %DESTDIR%\.
rem and run utility in silent mode
cd %DESTDIR%\
c:\checkide\checkide -c %CSVDIR% -d %DATDIR%
cd C:\winnt
:END
(win 2000)