MS DOS

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Batch file delete user profile remotely

    0 answers - 935 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I have a batch file that I use to delete user profiles from remote PCs. It works great But now I want to modify it so that it can use a text file called <b>PcsLisl.txt</b> that would contain a list of computers. Sample of file below
    \\PODA02
    \\PODA03
    \\PODA04
    \\PODA1
    \\PODA5
    \\PODB02
    \\PODB03
    \\PODB04
    \\PODB05
    \\PODB1
    \\PODBSW
    \\PODC03
    This is the current batch file below:
    REM @echo off
    net use x: "\\podA1\c$"
    x:
    rd "\Documents and Settings\gbertin\" /S
    cd\
    net use x: /delete
    I know that this can be done with the FOR command but I have never used that command before and need help with the syntax. I know there are better ways live using Group Policy but I would really prefer to do it using a batch file remotely thus I can choose which workstations to delete the file from with having to use Active Directory

Re: Batch file delete user profile remotely


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "MS DOS"

EMSDN.COM