Content Type
Profiles
Forums
Events
Everything posted by Yzöwl
-
I specifically meant AdminPassword if you use one, AutoLogonCount, I'm not sure about, it may not work due to the name change.
-
renuser.exe works fine at cmdlines.txt, just add the usual details in your winnt.sif then add the following under [Commands], in your cmdlines.txt e.g. "renuser.exe Administrator root"where root is the new name chosen For this to work you just need to put renuser.exe into your $OEM$ directory along side the cmdlines.txt The other benefit of using renuser.exe at this stage is that the Profile directory name will be e.g. root as opposed to still using one called Administrator
-
You have missed a backslash from before cdboot.txt if exist %%i:\cdboot.txt
-
None of the examples given to date used C:\mydir. In fact if you want C:\mydir, your example(s) will not work either.The original questioner also only asked Since most users C: drive is also the %SystemDrive%, I gave that as an alternative, because in that scenario you don't need the && cd etc..If you would like to explain the probability of someone installing their system on D: and running the cmd shell, very likely located at D:\WINDOWS\system32 or D:\WINNT\system32 to access root at C:, which will very likely belong to another OS! (How many people create a 'data' drive as C: and then install the OS to D:) In your case, (as given in your quote above), all you should need would be [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor] "AutoRun"="cd /d c:\\mydir"or in a case where you have spaces in your chosen path. (The additional quotes may not be necessary if you have command extensions enabled) [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor] "AutoRun"="cd /d \"c:\\my dir\"" By the way, if anyone is testing these without having first backed up the key, to return to the default setting use this [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor] "AutoRun"=""
-
What about this? REG ADD "HKLM\SOFTWARE\Microsoft\Command Processor" /v AutoRun /d "%%SystemDrive%%" /for in reg format [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor] "AutoRun"="%SystemDrive%"
-
The RunOnceEx dialog box doesn't have, to my knowledge, internal parameters for setting its width. My only suggestions would be 1. reduce the size of the lines being wrapped 2. Try to increase the length of the title sufficiently, to see if that increases the box width 3. add 80 to the flags value, to prevent the dialog box being shown at all 4. live with it
-
You may also be better off checking if it exists first too, not that the code given will not work just better practice. Also you could add the /Q (quiet) switch. if exist "%UserProfile%\Desktop\VLC media player.lnk" del /q "%UserProfile%\Desktop\VLC media player.lnk"
-
There will very likely be an entry in the run section of your registry pointing to this file which is no longer there. From the examples I've seen with it, it is usually stored in the users registry. Have a look for an entry here HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run You will probably find it under the value name update, with an entry pointing to its location in C:\WINDOWS\update\ Just delete that value and whilst your at it you can also delete the update directory in C:\WINDOWS. Make sure you have a good up to date spyware scanner too!
-
regarding start /wait, theortically yes, although adding at least a blank title usually proves more effective start "" /wait
-
Since GAME.CMD was started from a CALL, it simply needs to GOTO :EOF to return to the MENU.CMD, you certainly shouldn't be calling MENU.CMD again I think you may be better off waiting until you have access to the batches and post the appropriate sections of them here for comment.
-
I'm not sure if I fully understand but I think that you are running MENU.CMD which upon choosing the option runs GAMEx.CMD, when finished with the game, you want to return to MENU.CMD. You will therefore probably use CALL GAME.CMD from MENU.CMD in order to run the the GAME, then leave GAME.CMD open during the game, with PAUSE, or a timer countdown. When the game is finished, press any key to return to MENU.CMD, if you used PAUSE, or a simple GOTO :EOF after the timer countdown, if you choose that road. Obviously this is all supposition, from my idea of what you meant, I hope it helps though.
-
No they wont, because that prog is one of the best known pieces of spyware in circulation today. Do a quick Google for "Internet Optimizer" spyware and you'll see what I mean.
-
Can you not just remove the directory, complete with file, or try removing @* or @? from a prompt? If you are still having problems try this invalid file deleter, just download it where you want and run it, no install necessary.
-
For further information on my suggestion click here and read Cause 6: The file name includes an invalid name in the Win32 name space
-
del "\\?\D:\Temp\Cache\User\Temporary Internet Files\Content.IE5\I5U61P3B\@ "<Edit> Just as a little explanation, the message is not because the file is locked by another process etc., it is because there appears to be a trailing space in the file name. </Edit>
-
There will not be existing keys and subkeys in the location I gave, the existing ones will be in HKEY_LOCAL_MACHINE\SOFTWARE\Classes. However, because this tweak is a personal one, it is better in your own profile, just run the REG file I gave and the options should be available for the current user only and the 'global' setting will remain untouched for your other users.
-
HOTFIXES: Windows XP SP2 & Windows 2000 SP4
Yzöwl replied to Incroyable HULK's topic in Unattended Windows 2000/XP/2003
We will forgive you that on this occasion..... Happy birthday! -
You remove as in the examples above, an entire key by placing a - just inside the opening [ a value by placing a - just after the =
-
We usually set this unattended in the winnt.sif file
-
From your log, rest assured, it doesn't appear to be malware related, although you have far too many items in the Run section of the registry and additional services. Only you, or your IT department will be able to say for sure which of these are required at startup, but I'm confident that a large number of them aren't. If in doubt and you have access to the msconfig utility, you could run some troubleshooting tests, by disabling individual items /groups until you know for sure the consequences of removing them.
-
Let me do a series of tests on a 2000 installation, (may take a while), and see if the issue is OS related. In the mean time it may help if you can give me a full run down of your requirements, you may do this via PM if preferred.
-
Cleanup.cmd issue suggestions please
Yzöwl replied to DLF's topic in Unattended Windows 2000/XP/2003
Okay, that's great! Now, let's try to keep it our little secret -
Theoretically, yes, although you do not require the double quotes either side of Readme
-
Cleanup.cmd issue suggestions please
Yzöwl replied to DLF's topic in Unattended Windows 2000/XP/2003
Basically I'm expanding %ALLUSERSPROFILE% i.e Drive:\Documents and Settings\All Users and replacing \All Users with nothing, thus making Drive:\Documents and Settings. This way you can use the location of Documents and Settings without the need for knowing which drive it is installed on! Cool eh! <Edit> The other benefit is that if someone has for instance renamed the Profiles directory in their winnt.sif file to for example [GuiUnattended] ProfilesDir = "E:\Profile Settings\"this code will automatically remove the shortcuts from, for example, E:\Profile Settings\Big John\Desktop and E:\Profile Settings\All Users\Desktop and E:\Profile Settings\Administrator\Desktop and E:\Profile Settings\Default User\Desktop etc. </Edit>