
madbull
Content Type
Profiles
Forums
Events
Posts posted by madbull
-
-
The pushd and popd were used to move me to a location and return me to my start point again after running the deletion. The same task could have been performed without that addition thus:
del "%systemroot%\system32\1.ext" "%systemroot%\system32\2.ext"
It appears that you are trying to create something which is making a smaller OS source. If this is the case and you are removing OS files you may need to use:
DEL /F /A [file(s)]
Yes i do somtimes use those options (force delete of read only files and the attribute option)
Thanks once again you have been a major help,
-
pushd %systemroot%\system32
del 1.ext 2.ext
popdDear Yzöwl,
Do you mean to say this will do what i wanted and secondly how?
What is that push part is that an option of the del command or another command?
Thanks a mil,
PS.I'm not sure if you've heard of the application i am creating but you will be featured (with your permission) along with all the others who have helped.
-
Ok most of you probarly know of me and my project.
Well the removal parts quite easy but as expected the re-intergrating is more difficult.
Heres my problem, When the user chosses to reintergrate any component etc he/she will be give the option to download the neccesary files or have them intergrated using the disk (full/all files).
If they choose to use the disk my app will make use of the expand command (even if the user doesn't have it on the system it will be embedded or available via download). So farso good but say they choose to re-intergrate the service "COM+ Event System & COM+ System Application" (as i call it) know that means my program intergrates the files using the ex[pand command into the system32 folder and will also use this:
sc config start= demand
sc start
to start the service etc.
But the service "COM+ Event System & COM+ System Application" also uses a folder named "Com" in %systemroot%\system32\Com
so my app makes the folder using the "mk" command but what abut the files inside i know i can use the expand command but how will i:
1. know exactly what files belong here (i have an idea)
Where will i:
Get them from, (are they on the disk?)
Cheers in advance,
PS. also there is a file named emptyregdb.dat which is not on the disk so how do i get about this?
-
QED, you just need to handle them one at a time like so:
copy %userprofile%\Desktop\1 %SystemRoot%\system32
copy %userprofile%\Desktop\2 %SystemRoot%\system32And then to delete:
del %SystemRoot%\system32\1
del %SystemRoot%\system32\2Yes thats true, its just it says you can do it for multiple files i assumed that meant something similar to the above (my example).
Thanks for the reply (has helped clear up this matter),
-
Ok i know exactly which files arent present (arent copied).
perf009.dat
per_intr.swf
per_nav.swf
per_seg1.swf
per_seg2.swf
per_seg1.txt
per_seg3.swf
Cheers,
PS.Another thing this is a genuine unchanged/edited copy of xp home edition.
I was wondering also where i might aqquire these missing files as i can't copy them.
-
i haven't heard or read the registry import actually working but then i am not even sure what gets imported to the registry to help with the activation.
kk thanks for your reply,
PS.It isn't really any worry as i do not use that perticular line of code anyway (as i dont import anything to the registry) i was just curious as to what it might be.
-
I have 2 files (1 & 2) on the desktop and want to copy them to system32:
I am trying this - copy 1 + 2 %systemroot%\system32
but its not working.
I would also like to do the same but removing 2 files: So
del %systemroot%\system32\ 1 2.
i know that this is wrong;can anyone show me where i'm going wrong and the correct way(s).
Thanks,
PS.It doesn't matter if the file has an extension or not;that is to say if you give me an example you can add an extension to the files if you want.
-
If you want to also kill any process, you can use
taskkill
you can type
taskkill /?
for more options
Thanks for that one. Has come in usefull already.
-
Sorry all,
My mistake "per_seg.swf"
Thanks for the replies,
-
Then i saw the very same script (give or take a little) on another forum (might've been this one) but that one had an extra line of code:
%SYSTEMROOT%\REGEDIT.EXE /S activate.reg
the thing i can't undestand is what this does (exactly) i mean i know what the commands do;but not regarding the registry.
This command imports a file named "activate.reg" silently into your Registry.
Dear arie,
I knew that was what it would normally do but i never reliased that (synax) would work.
So thanks for your reply,
Ps. i was wondering wether you knew what reg file that would be. (or which part of the registry needs editing etc)
-
I know why this is and it isn't the first time either. The disk is scratched.
The cd (full version - all files) is 556mb the folder (xp) on my desktop where the copied files are is only 456mb.
Now obviously i need to make a new (full) disk, but i cant because the files wont copy (well not all of them).
I do however have a clue as to what files they are:
1. when i install from an nlited disk that had its files copied from the scratched disk it (during the copying files part) asks for something like "perf" and i know at least one of these "perf" files has an .swf extension.
There is only about 4 files missing afaik but these perf ones are quite big.
What i would like to know is; is there a way that i can compare the disk and the copied files to see which files are missing.
Also is there a place i could get the missing files? eg internet.
-
don't worry about it........u knew it but just need a refresher.........i still need a refresher from time to time.........
Thats true,
I was wondering if you might be able to help me also;i wrote this batch script to copy the wpa files (backed up - activated state) to system32. (and rename the ones in system32).
Here is the script:
@echo off
ren %SYSTEMROOT%\system32\wpa.dbl wpa.dbl.nonactivated
xcopy a:\wpa.bak %SYSTEMROOT%\system32\wpa.bak /q
xcopy a:\wpa.dbl %SYSTEMROOT%\system32\wpa.dbl /q
%SYSTEMROOT%\REGEDIT.EXE /S activate.reg
EXIT
Then i saw the very same script (give or take a little) on another forum (might've been this one) but that one had an extra line of code:
%SYSTEMROOT%\REGEDIT.EXE /S activate.reg
the thing i can't undestand is what this does (exactly) i mean i know what the commands do;but not regarding the registry.
Any help appreciated; Thanks again,
-
how about:
RD /S /Q
Yes thanks m8.
I must be slacking as now you mention it i reliase i knew it; /s (removes tree) /q (no prompt).
Thanks again,
-
I was wondering if anyone new how to stop and disable a service using a batch script.
I know you can delete, view etc usinc the "sc" command but i'm unsure if this can be used to disable a service.
NET STOP "ServiceName"
Another thing regarding batch files and command line programs (shutdown, sc, user etc) say i want to use shutdown.exe but i do not have it in my "system32" folder but i do have a copy of it on my memeory stick (e:\) can i point to it using a batch file.If the file is in the same folder as the batch script, there is no need to specify the path to the file. If the file is not in the same folder as the batch script and the path to the file cannot change, you could simply launch it via START. For options, launch START /?. If the path can change, which is the case with most USB sticks as they're plug and play, you could alter the CD-ROM drive discovery script to always point at the correct USB drive. See the Unattended Guide here for the script.
Wow thanks Arie,
I completly forgot about the "net stop" command although i have never used this one anyway.
But i will use this now, also i was wondering what the "net.exe" files main function is i have looked at tye help part using "cmd" it looks like it has multiple functions.
Also i am aware of the "net1.exe" file and was wondering whether this has anything to do with the "net.exe" file.
Thanks for all of the information you have supplied me,
PS. I am under the impression you know your batch files and commands, i was wondering if you would be able to help:
http://www.msfn.org/board/index.php?showtopic=109578 - removing a non empty directory.
-
I know that the following can remove empty directorys:
RD
RMDIR
But i am uncertain on how to remove a direcory that is not empty; that is to say a directory containing files, other folders etc.
Thanks,
PS.I am a pretty good batch creator etc (well getting there).
-
I was wondering if anyone new how to stop and disable a service using a batch script.
I know you can delete, view etc usinc the "sc" command but i'm unsure if this can be used to disable a service.
Thanks.
Another thing regarding batch files and command line programs (shutdown, sc, user etc) say i want to use shutdown.exe but i do not have it in my "system32" folder but i do have a copy of it on my memeory stick (e:\) can i point to it using a batch file.
eg:
cd e: shutdown.exe (variables/options here).
Thanks again,
-
hello,
i bought a RETAIL version of XP PRO SP1 which i want to slipstream to SP2, adding RVMpack and
customize to my needs for a DAW system.
With my previous nlite cd from a VLK XP PRO cd, i removed internet explorer completely and i also removed oobe.
I never have any problems with this installation and never had any activation issue but i noticed that even with my portable Firefox on a usb stick i'm not able to acces the internet (which i didn'n needed).
However, with the system i want to setup now i will need temporarly acces to the internet to registrate some programs but I don't need I.E. , i prefer to use portable Firefox on a usb stick for this.
something else i noticed, in my previous nlitecd (already 2 years ago) i could remove/keep some windows media codecs but now i don't see this option anymore. Is this now part of the acm core codecs?
as far as i can remember i removed all codecs, windows media player and also the classic media player and manually
added wmasf and wmvcore, real alternative and some divx codecs later (i remember before i have got a error in Soundforge complaining about some missing codecs). Now I'm thinking to keep acm core codecs but remove
windows media player (incl classic) but i'm not sure if i need to keep mediaplayer compatibility?
my questions:
(1) Do i need to keep oobe with a XP PRO RETAIL VERSION and do i need to activate it online or so ?
(2) Can i remove IE Explorer completely or should i keep the IE core to acces the internet with firefox portable
(or for oobe compatibility) ? (I ASSUME I'TS BEST TO MARK ETHERNET DHCP FUNCTIONALITY ?!)
(3) when removing media player (incl classic) but keep acm cored codecs do i need mediaplayer compatibility for
anything?
regards.
j.
Dear jonathanc,
OOBE is not required in order to use the "validate online" feature.
If you are running/have a genuine version of xp pro (SP1 or Sp2) then you remove of oobe, but if you were (educational purposes) going to need to change the product key (if the copy of xp was pirated - and did not pass validation) then you would need oobe to run the activation wizard.
Another thing;
I'm not sure wether you were aware of this (AFAIK) but if you are running xp pro - and dont validate it, it wont lock you out after 30 days.
-
Once you activate two files end up in Windows\System32, wpa.bak and wpa.dbl. It's mentioned (on the net) that backing up these two files and then copying them in to System32 on the new install should avoid having to activate. However, I've recently tried this with my unattended setup (by putting the files into $OEM$\$\system32 on the UA disc) but it's still trying to activate. It is supposed to be possible though.
Here's some info on it.
As I suspected another article only mentions needing to backup wpa.dbl (not the .bak which is probably a backup, duh!).
UPDATE: After reading this myself it seems you have to copy the files once you've cancelled the question asking to activate so either the files get overwritten or it asks for activation regardless. I'll check tomorrow to see if it is actually activated. Don't want to have to reboot into safe mode!
Thanks for your reply,
I have tried this method several time useing several different "mehods" etc, but the activation process/wizard still needs to be ran in order for online validation to work; without validation the pc will still be locked after 30 days and if the user removed oobe then there would be no way to activate thus rendering the pc useless.
-
Thanks for the replies,
Oh and yes as i already stated "for educational purposes".
Thanks again,
-
I am only asking for an educational purpose.
If by using nlite i remove ie, iecore, oobe and any files associated with activation what would happen?
After 30 days would it still shut me out?
Just wondering,
-
I,ve had a new idea,
Yes i'm still trying to find a way to remove IECore (using nlite) whilst still being able to activate the pc. <--- Xp Home Edition.
Sadly i still haven't been able to acomplish this tiresome task, even though i have tried numerous things.
Iv'e tried intergrating the wpa key onto the disk, but then i can't validate online as it says i need to activate first.
Tried to just remove IECore and leave oobe, but as i already knew - no success there.
Tried using other browsers
Tried associating the files to different programs, browsers etc
Tried a few other ways aswell.
I do believe this is possible, yet im just unable to find out how.
My idea is,
I know that once IECore is removed, after install there is no way (yet) to activate but what if there was a way to do it whilst installing or on first run maybe.
I saw a post i think it was on this forum; to intergrate activation files on to the disk.
Has anyone got any other ideas?
I really really apreciate any help/ideas,
-
I was just wondering if it would be possible o add certain files to the "keep" box in nlite so that i could remove msmail and mapi; whilst still being able to install wlm.
Also i just thought, it would be kwl if ppl could list any others that they know. I'll start:
------
TCP/IP printing still works without SNMP, however I've found that these two files must be kept (or SNMP):
Mgmtapi.dll
Wsnmp32.dll
------
-
mitsukai,
Tanks for your reply but you have misunderstood me. I am making an application similar to nlite and i need/want to see if its possible to activate XP Home without iecore.
Cheers,
i was replying to nuhi next time read quote.
Darn,
sincere apologies.
I did read qoute (as always) i just made a mistake thats all.
Cheers,
PS.Even though you were replying to nuhi, you have given me an idea.
-
mitsukai,
Tanks for your reply but you have misunderstood me. I am making an application similar to nlite and i need/want to see if its possible to activate XP Home without iecore.
Cheers,
Install from alternate source device
in Unattended Windows 2000/XP/2003
Posted
If you mean run the windows setup/install using a usb (memeory stick) with unatended settings through nlite for example then yes it should work. afaik.
I have done it.
Hope this helps,