Originally Posted by browolf
Can you describe what it's doing there? I've read that there's a way to use a text file to list PC's that you want it to clear profiles on and exclude certain profiles. Is this the case?
Think i've found a good link.
a for loop allows you to perform an operation on each item in a list. how the list is created occurs inside the brackets. we search the network for specific name prefixes, or you could also echo a txt file with the type command.
the best reference site for dos comands is SS64.com Command line reference
I don't know anything about excluding certain profiles, however with find there's an exclusion switch ( /v) and you can repeat piped exclusions ( | find /v ... | find /v ... etc)
it seems plausible if you were to delete profiles with with just del or rd, that you could do
for "get a list a list of computers" do
-----for "get a list of profiles for that computer excluding ones you dont want" do
----------del the profiles in the resulting list.
Ok so does delprof leave certain profiles by default e.g. All Users, Administrator etc?
yes it does
Originally Posted by cookie_monster
It'll leave All Users, Default User and Administrator alone.
if i remember correctly
waiting to be flamed now............
just download the latest one from MS
yeah basically - think there are one or two other ones it leaves alone as well ( default user and something else - cant remember as not used xp properly for a while )
Originally Posted by round2it
i can not remember what the other one was either :)
Originally Posted by mac_shinobi
There's a couple of hidden ones like 'Network Service' and another I think.
Is there an option to set delprof to log what it's done?
Anyone found a proper solution to this problem?
Summary of problem:
The problem occurs when a user with a mandatory roaming profile logs onto a website that generates a really long file name (e.g. many of the BBC games). Even though that file does not exist on the server copy of the profile, windows thinks it's copying it to the local machine and this causes a Windows to throw a hissy fit because the file's too long.
Sort of solution
There are various workarounds (many of which don't work) basically involving delprof/script deleting the profile on shutdown. I've added my users to the Domain Guests group, which causes their profile to be deleted on logoff. This seems to work most of the time however, the problem still occurs. It's often enough still be annoying.
I think it might not work when the user visits a problem site and there is an ungraceful shutdown – so the profile is not getting deleted.
I could spend half a day faffing about with Delprof and startup scripts but if anyone’s got a combination that works, that’d be really appreciated.
Why the hell hasn’t Microsoft fixed this? It’s clearly a bug and I’ve never had it until IE8.
Eean is off to consider Firefox!