Computing.Net > Forums > Windows NT > Can't Delete User Folder on Server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Can't Delete User Folder on Server

Reply to Message Icon

Name: Mojo
Date: September 4, 2002 at 03:03:36 Pacific
Comment:

Can anyone advise me ...

I'm trying to delete ex-employees folders from the NT Server.

The trouble is that there is a 1kb 'Nul' file that I can't get rid of and hence prevents me deleteing the users folder.

I'm logged on as the Administrator on the Server itself, I've also tried logging on as the users themselves on my PC ... but still to no avail.!

I keep getting a pop up box saying:
"Cannot delete NUL: Invalid MS-DOS function."

Can someone tell me how to get rid of this file and then the folders themselves.

Many thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Herman
Date: September 4, 2002 at 04:05:31 Pacific
Reply:

Try rebooting the server. I guess a handler is not releasing the file.

good luck


0

Response Number 2
Name: Martin
Date: September 4, 2002 at 04:35:33 Pacific
Reply:

click right mouse-button on the file as server-admin logged-in. use options and get ownership (Besitz übernehmen, ich know only the german word)

afterwards you can delete it.

martin


0

Response Number 3
Name: Maurice Reed
Date: September 5, 2002 at 00:39:07 Pacific
Reply:

Hmmm, I've come across this sort of problem before. The thing is that embedded in DOS and therefore carried over into Windows are some permanent file names such as LPT1, LPT2, Nul, Con, Prn etc. So if at a command prompt you enter:-
copy xxx.txt con - the file xxx.txt gets copied to con which is the console

If you enter:-
copy xxx.txt Prn - then it gets copied to the default printer. The 'nul' file was a way of dumping program output to a black-hole.

If you try deleting filenames like prn, nul, con etc the OS will generate an error. If the folder is on an NTFS volume I would suggest that you make sure that you have taken ownership and have granted yourself full access rights over the folder and sub directories. Having rebooted the server to release any locks/handles associated with this directory and contents, bring up a command prompt and switch to the appropriate path and enter:-

DEL *.* and see if that clears the entry.
You could also try something like:-
REN * *.txt which should attempt to rename it and maybe then you can delete it as normal. The thing is to not use the keyword 'nul' in any command such as:-
DEL nul

It should be impossible to create a file with a name such as 'con' 'prn' 'nul' etc but some error has occured which has allowed this to happen.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Can't Delete User Folder on Server

Can't delete files with roaming profiles www.computing.net/answers/windows-nt/cant-delete-files-with-roaming-profiles/17546.html

Can't delete folder on NTFS partition www.computing.net/answers/windows-nt/cant-delete-folder-on-ntfs-partition/7970.html

can't delete files/folders - error 1026 www.computing.net/answers/windows-nt/cant-delete-filesfolders-error-1026/15385.html