Jump to content

`Felix`

Member
  • Posts

    482
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by `Felix`

  1. you can create a silient managed install using the management tools that come with sav 8.x and above.
  2. hi Echap, Just doing some testing with v0.4. Here is some feedback for you. 1. Can we add a variable under the FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.sp2 SET CDROM=%%i: line that is PP=Application Common Path and then instead of adding the application common path to each filename entry you just insert %PP% - this way for manual editing of the common path you simply change it as the start of the file... makes life easier. [PP = Program Path] 2. If you maximize the Runonceexmaker the input area doesn't scale with the screen size... stays at 800x600. Would be good if it automatically sizes based on the window size. 3. some of the entries in my current RunOnceEx.cmd file are being loaded to the parameter input field instead of the filename input field.. Have move things around and can not determine why this is happening... example is below. REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f REG ADD %KEY%\000 /V 1 /D "%PP%prepare.cmd" /f If i edit this line in Runonceexmaker v0.4 and then save and view the file the code is as follows: REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f REG ADD %KEY%\000 /V 1 /D "%PP%prepare.cmd " /f As you can see no real change to the format etc... the only thing i can guess is that the %PP% is confusing the application. 4. Some of the Descriptions get lost when i load my current (manually created) runonceex.cmd file - for example the title for Free Download Manager. 5. Some entries are lost all together. ??? I have attached my runonceex.cmd file for you to test against so you can see the errors yourself. Also attached is runonceex1.cmd - this file was created by loading my original runonceex.cmd file and then simply saving as runonceex1.cmd - you will be able to see the differences.... All other changes and additions are GREAT!!! thankyou for your hard work!!!! Wish List: Add database function to the runonceexmaker so that we can add all common applications into it to make life easier... then we can insert from the database to make populating the runonceex.cmd file faster... I would be more than happy to help populate the database and i would even be happy to maintain it (i can do english only) Well i hope all this information is helpful. RunOnceEx.cmd RunOnceEx1.cmd
  3. Hello there, I want to do a directory listing and then echo only the directories that do not match the list i provide... i have been working with the following code, but i have been unable to get the right syntax... help pls. @echo off cls set TmpPath=thetmp set tlist="sub1" "sub2" "sub 5" "sub 8" "sub 9" rem for /f "usebackq delims= tokens=1,2*" %%i in (`%twant%`) do if /i NEQ %%i echo %%i call:test "sub1" :test for /f "usebackq delims= tokens=1,2" %%i IN (`dir /ad /b "%TmpPath%\%~1"`) DO IF /i "%%i" NEQ "%~1" echo %%i I have thetmp directory setup and then under that folder i have sub1 - 15. The final cost would then list all folder accept for sub1,sub2,sub 5,sub 8 and sub9 This works well below, however i am having problems with checking against my list. for /f "usebackq delims= tokens=1,2" %%i IN (`dir /ad /b "%TmpPath%\%~1"`) DO IF /i "%%i" NEQ "%~1" echo %%i all responses very appreciated
  4. this works perfectly - thanks Iceman for %%i in (ImagX7.dll ImagXpr7.dll ImagXR7.dll ImagXRA7.dll nerocd95.vxd NeroCheck.exe oleaut32.dll picn20.dll stdole2.tlb TwnLib20.dll TwnLib4.dll) do if exist %windir%\system32\%%i (del /q "%windir%\system32\%%i")
  5. Thanks for the comments, fixes and suggestions - they will be all incorporated in the next build Keep the feedback and ideas coming
  6. yep same issues here - maybe they have not made the changes in the def files to reflect the changes in the 9.0.3.1000?
  7. is it me or is anyone else having a major issue with replacing the Virus Defs? If I delete and replace files as above - the installer whines about missing VIRSCANT.DAT as this is the only file missing from the downloaded i32 archive. I then Copy & Paste the extracted files to said folder and install on a fresh VirtualPC and voila - LiveUpdate then insists on all 6.76MB of updates download afterwards. FYI - I am using SAV 9.0.3.1000 with LU26 <{POST_SNAPBACK}> No i am having the same problems
  8. the end result will be to automatically delete the files that match the list from the %windir%\system32 folder.
  9. Hello all, I am currently using the following script to list some files that are known to be in the system32 folder, however i was wondering if there is a cleaner way of doing the same thing? @echo off cls set dr1=%windir%\system32 set fnd1=dir/s/b %dr1%\ImagX7.dll %dr1%\ImagXpr7.dll %dr1%\ImagXR7.dll %dr1%\ImagXRA7.dll %dr1%\nerocd95.vxd %dr1%\NeroCheck.exe %dr1%\oleaut32.dll %dr1%\picn20.dll %dr1%\stdole2.tlb %dr1%\TwnLib20.dll %dr1%\TwnLib4.dll for /f "usebackq delims= tokens=1,2*" %%i in (`%fnd1%`) do echo %%i All responses very appreciated
  10. Well done slimzky!!!!!!!! thankyou for your help!
  11. slimzky, you didn't read what i wrote - i have NOT updated the scripts with the changes and fixes including the activeX error - am still working on the updates. Sorry i haven't made myself clear. I have fixed them and the fixes are part of the updates to be available in the new script when posted in the next day or so. What you have added is exactly what i have done... so that will have your current scripts doing what you want. The bigest issue i have presently that is taking all my time on this is the image drive driver issue. I have been updating the change logs so everyone knows that i am still working on it and things are getting fixed. Take care and stay tuned.
  12. At least mine actually works http://service1.symantec.com/SUPPORT/ent-s...2%2C3#_Section1 <{POST_SNAPBACK}> Well if you had of said that in the first place i could have fixed it then am fixing it now.. Thanks for the heads up.
  13. yeah i know.... i was joking about it... ( obviously not funny than >< ) No worries - wasn't sure thought it best to reply Yes you do - it's a 2 part process. the first tell the script not to remove these items that is listed in the first part of the code and the second part part removes all of the items specified. That seems strange will look at that and address the issue if i can find it in the next update. Check to make sure that shortcut.exe is being added to your custom_nero.exe file as something in the meantime.
  14. http://service1.symantec.com/SUPPORT/ent-s...2%2C3#_Section1 <{POST_SNAPBACK}> Nice link there <{POST_SNAPBACK}> Yeap you should know
  15. Thanks dman for your post, however that is not resolved the issue. any other ideas?
  16. Hi all have been updating the change log information on my first post with fixes etc... i haven't posted a new version of the scripts yet as i haven't finished working through all the problems - namely the image drive issue. and i want to do some more of the stuff on my todo list first as well... stay tuned. http://www.msfn.org/board/index.php?showto...ndpost&p=283838
  17. Hi all, Need a little help... I am doing a directory list and want to list all of the matching files accept the ones that have eng in them... i have it partly working see below. for /f "usebackq delims= tokens=1,2*" %%i in (`dir /s "%cd%\%TmpPath%\*.chm" dir /s "%cd%\%TmpPath%\*.txt" dir /s "%cd%\%TmpPath%\*.wav"`) do IF /i "%%k" NEQ "*eng.*" echo %%i i get the directory listing fine, but it still lists the files with eng in them??? Any help would be appeciated
  18. Yes that i know that was the first thing i did... Just need to resolve the definition issues now.
  19. No iwod, not a bug, simply i forgot the change it from my path to the default %programfiles% path... see Mavricks Choice's comment below - he is 100% correct. Absolutely right Mav!
  20. no i havnt remove SCSI/RAID drivers.. i tested it in my current system w/out any updates/reg tweak/hack.. (almost clean install) im used to wave editor.. i hav made hundreds of mobile tones using this...using virtualcd & anoder editor needs another precious cd space i only have a cd-wr here & i want to take advntage of nero having this handy tools w/c takes less space.. anyway, thnx for the suggestions good luck felix <{POST_SNAPBACK}> The wave editor issue i have almost solved as with a few of the other bugs... will have a new update in the few days.
  21. Hi there all, I have been searching for a solution however i have not yet found one... I would like to set the registry options during unattended installation so that when you go to windows update you do not see the Windows Messenger and Microsoft Journal Viewer features... I by design do not install them, and do not want a user going to windows update and downloading them just because they are in the list of available updates. Any help or suggestions would be most welcome.
  22. Ok so in the log is it reporting that it is deleting your original account too? need more information here... i need to try and duplicate the problem so i can fix it Yes you do for all the profiles to be fully released from system control. Ok well the easiest thing i can do is just give you the source. here it is below With this you can remove the popup (for silent) or change it to include help and add anything else you like. Please let me know about clear changes you have made so i can keep updating my source. Let me know about the first issue you raise so i can address that asap. I have not been able to reproduce that issue here and did orginally test for that situation. @ECHO OFF :: Fix and Delete Duplicate Profiles 1.1.17 :: Copyright 2005, `felix` :: Last updated: March 3, 2005 IF %OS%!==! GOTO:EOF setlocal If /I "%1"=="RESTART" SET RS=YES set theNum=0 set KEY=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList set gtid=getsid \\%computername% %username% \\%computername% %username% for /f "Tokens=7" %%i in ('%gtid%^') do (set UserSID=%%i) set qry1=reg query "%KEY%" /v ProfilesDirectory set qry2=reg query "%KEY%" /s set qry3=reg query "%KEY%\%USERSID%" /v ProfileImagePath set fnd1=FIND /I "Documents and Settings" set fnd2=FIND /I "ProfileImagePath" set fnd3=FIND /I "AllUsersProfile" set fnd4=FIND /I "DefaultUserProfile" set fnd5=FIND /I "LocalService" set fnd6=FIND /I "NetworkService" set fnd7=FIND /I "%UserName%" for /f "Tokens=1,2*" %%i in ('%qry1%^|%fnd1%') do (set DocSetDir0=%%k) CALL:CheckCurrentLocal CALL:CheckIfDuplicate if %RS%==YES call:restartIt GOTO:EOF :CheckCurrentLocal :: Check the registry to and make sure the profiles are correct based :: a totally clean default installation. If duplicate profiles are :: found based on reinstall or lost of user account information, we :: correct the paths to the correct directories here. FOR /f "Tokens=1,2*" %%i in ('%qry2%^|%fnd3%') do if /i not "%%k"=="All Users" ( reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /v AllUsersProfile /d "All Users" /f >NUL ) FOR /f "Tokens=1,2*" %%i in ('%qry2%^|%fnd4%') do if /i not "%%k"=="Default User" ( reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /v DefaultUserProfile /d "Default User" /f >NUL ) FOR /f "delims=\ Tokens=1,2*" %%i in ('%qry2%^|%fnd5%') do if /i not "%%k"=="LocalService" ( reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-19" /v ProfileImagePath /d "%DocSetDir0%\LocalService" /f >NUL ) FOR /f "delims=\ Tokens=1,2*" %%i in ('%qry2%^|%fnd6%') do if /i not "%%k"=="NetworkService" ( reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-20" /v ProfileImagePath /d "%DocSetDir0%\NetworkService" /f >NUL ) FOR /f "delims=\ Tokens=1,2*" %%i in ('%qry2%^|%fnd7%') do if /i not "%%k"=="%UserName%" ( reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\%UserSID%" /v ProfileImagePath /d "%DocSetDir0%\%UserName%" /f >NUL ) GOTO:EOF :CheckIfDuplicate ::Let the user know something is happening... popup /YN /HF "userprofilechecker.hlp" /IS /M "Duplicate User Profile Detected" /T "User Profile Checker 1.1.16" if errorlevel 7 EXIT :: Now we actually check againist the registry for duplicates :: Normally they will be username.computername, all users.windows, :: default user.windows, localservice.nt authority and networkservice.nt authority. :: the last 3 are hidden. CALL:Header FOR /f "Tokens=1,2*" %%i in ('%qry2%^|%fnd3%') do if /i "%%k"=="All Users" (CALL:DoIt "All Users" "%DocSetDir0%") FOR /f "Tokens=1,2*" %%i in ('%qry2%^|%fnd4%') do if /i "%%k"=="Default User" (CALL:DoIt "Default User" "%DocSetDir0%") FOR /f "delims=\ Tokens=1,2*" %%i in ('%qry2%^|%fnd5%') do if /i "%%k"=="LocalService" (CALL:DoIt "LocalService" "%DocSetDir0%") FOR /f "delims=\ Tokens=1,2*" %%i in ('%qry2%^|%fnd6%') do if /i "%%k"=="NetworkService" (CALL:DoIt "NetworkService" "%DocSetDir0%") FOR /f "delims=\ Tokens=1,2*" %%i in ('%qry3%^|%fnd7%') do if /i "%%k"=="%UserName%" (CALL:DoIt "%UserName%" "%DocSetDir0%") CALL:Footer GOTO:EOF :Header :: We output the list of directories to the log so we have a record :: of the directories deleted and to check the script loaded. > c:\AllUsersProfilefix.log echo Fix and Remove Duplicate Profiles 1.1.17 >> c:\AllUsersProfilefix.log echo Copyright 2005, `felix` >> c:\AllUsersProfilefix.log echo www.simplify-i-t.com >> c:\AllUsersProfilefix.log echo Automatically Generated %DATE:~-10%. >> c:\AllUsersProfilefix.log echo -------------------------------------------------------------------------------- >> c:\AllUsersProfilefix.log echo. >> c:\AllUsersProfilefix.log echo This computer was found to have one or more duplicate system or user profiles. >> c:\AllUsersProfilefix.log echo. >> c:\AllUsersProfilefix.log echo The following registry key has been updated with restored values. >> c:\AllUsersProfilefix.log echo "%KEY%" >> c:\AllUsersProfilefix.log echo. GOTO:EOF :Footer >> c:\AllUsersProfilefix.log echo. >> c:\AllUsersProfilefix.log echo -------------------------------------------------------------------------------- >> c:\AllUsersProfilefix.log echo This issue is possibly caused by the following reasons: >> c:\AllUsersProfilefix.log echo * The computer operating system has been reinstalled. >> c:\AllUsersProfilefix.log echo * The computer operating system has been restore from a back-up image. >> c:\AllUsersProfilefix.log echo. >> c:\AllUsersProfilefix.log echo For more information please see Microsoft Knowledge Base Article link below: >> c:\AllUsersProfilefix.log echo http://support.microsoft.com/default.aspx?...kb;en-us;314045 >> c:\AllUsersProfilefix.log echo. GOTO:EOF :Doit :: We check to make sure it is not a valid user directory and :: unhide all the directories that are hidden first so we can :: build the list to remove them. for /f "usebackq delims= tokens=1,2" %%i IN (`dir /a /b "%~2\%~1*"`) DO IF /i "%%i" NEQ "%~1" attrib -a -s -h "%~2\%%i" for /f "usebackq delims= tokens=1,2" %%i IN (`dir /ad /b "%~2\%~1*"`) DO IF /i "%%i" NEQ "%~1" call:flagIt %~2\%%i GOTO:EOF :flagIt :: The list of duplicate/unrequired directories is built :: and added to the Local Machine RunOnce key to be removed :: at next boot. :: The directories can not be removed before a reboot because the :: system still has them loaded even know we have changed the paths :: in the registry. set /a theNum=%theNum%+1 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v RemoveDuplicateProfile%theNum% /d "%comspec% /C RMDIR /S /Q """%*"""" /f >NUL >> c:\AllUsersProfilefix.log echo %theNum%. %* has been deleted! GOTO:EOF :restartIt shutdown -r -f -t 90 -c "%computername%" needs to restart to finish the update to the user profiles." GOTO:EOF endlocal
  23. hi ZileXa, Thanks for the info. all help will be appreciated. I am working throught the bugs and seeing if we can get them all out. more info as it comes to hand
×
×
  • Create New...