How can I delete the local user profile on a Windows 7 Machine that is connected to a Windows Server 2008 domain?
delprof doesn't seem to exist on Windows 7.
I am using auditctl to log all commands run on my Ubuntu system and I working on a script that parses the log into a more readable format. Since these logs tend to become very large, I want to periodically delete the logs. I found that by running
sudo rm /var/log/audit/*
I would get
rm: cannot remove `/var/log/audit/*': No such file or…
I have bunch of mails in my solaris account
107 letters found in /var/mail/icinga, 1 scheduled for deletion, 0 newly arrived
107 d 2886 MAILER-DAEMON Fri Jun 11 00:39:39 2010
> 106 2895 MAILER-DAEMON Fri Jun 11 00:13:02 2010
105 2890 MAILER-DAEMON Fri Jun 11 00:10:05 2010
104 2888 MAILER-DAEMON Tue May 18…
I have an application which writes its log files in a special folder. Now I'd like to add a functionality to delete these logs after a defined period of time automatically. But how long should I keep the log files? What are "good" default values (7 or 180 days)? Or do you prefer other criteria (e.g. max. used disk space)?
I've installed a CMS on a shared host running Apache, now when I was deleting the root directory with FTP, some folders left with a "Permission denied" error and I can't change their attributes.
the best explanation I've got is that the CMS installer has placed the files and has assigned its ownership to the Apache server instead of my…
Let's say /usr/local/bin/ruby is running in the background, and then we overwrite ruby with a different version, or even delete ruby.
What will happen to those running ruby processes?
hi all,
i'm running an NT Server - when trying to delete eg. just one file - it takes several minutes (!!) until the file gets deleted. i'm only getting the deleting-dialog but nothing happens.
any ideas what could be wrong?
thx
I have a bash script that runs on our shared web host. It does a dump of our mysql database and zips up the output file. Sometimes the mysqldump process gets killed, which leaves an incomplete sql file that still gets zipped. How do I get my script to 'notice' the killing and then delete the output file if the killing occurred?
When I move or delete the target of a shortcut and click the shortcut afterwards windows kindly starts searching and guessing.
How to disable this on windows server 2003? I'd prefer a quick error condition.
How to do the same on windows xp, maybe there is no difference?
How do i delete database manually. Is tehre any commands for deleting a database? I usually connect through VNC but its better if there is any command line tool.
I want to create an account that will perform the following:
Join computers to a domain (not restricted to 10, like a normal user)
Check for computer accounts in AD
Delete computers from AD
Move computers between OUs
I don't want to allow it to do anything else, so don't want a domain admin account.
Can anyone guide me in the right…
I am trying to create a login script, or bat file to delete the folder located in the following directory. I would like the whole folder deleted with all of its contents "Juniper Networks".
This is on a terminal server -
C:\Users(username)\AppData\Roaming\Juniper Networks
I can write a script for each username, but want a script to…
I have a folder on the desktop that I created a while ago and it is empty. Everytime I delete it reappears after restart (hibernate/power on again, etc..)
How do I get rid of it?
Currently when I unzip into a directory with pre-existing files, I sometimes unzip an archive to update the files, using -f or -u or -o to overwrite any clashes.
However I would like the unzip process to also delete any files which were not part of the archive, so that the unzipped version fully matches what was in the zipped archive.…
I've installed a CMS on a shared host running Apache, now when I was deleting the root directory with FTP, some folders left with a "Permission denied" error and I can't change their attributes.
the best explanation I've got is that the CMS installer has placed the files and has assigned its ownership to the Apache server instead of…
I have an account on a backup server but it's full, so I need to clear it. The problem is that
It's only accessible via FTP, SFTP and Rsync (no shell)
Deleting lots of small files (as in, multiple full Linux installations), which I have to do, is undoable over FTP/SFTP because it cannot recursively delete directories in one command…
I generate more than 50GB of cache files on my RHEL server (and typical file size is 200kb so no of files is huge). When I try to delete these files it takes 8-10 hours.
However, the bigger issue is that the system load goes to critical for these 8-10 hours. Is there anyway where I can keep the system load under control during the…
Hello all.
I opened a file using Vim from MinGW's MSYS on Windows 7, and it crashed, and it's left behind a .filename.swp file which I cannot delete! I'm in the local admin group, and I tried following this, in an administrator command propmpt, and that didn't work. Nor did logging on as the local admin and performing the same…
I have quite complex directory tree. There are many subdirectories, in those subdirectories beside other files and directories are ".svn" directories.
Now, under linux I want to delete all files and directories except the .svn directories.
I found many solutions about opposite behaviour - deleting all .svn directories in the…
Hi Scripting Guys
i want to write a script to move all emails from a folder called PST Migrations to inbox then delete the PST Migrations Folder, i want to run this script on all users profiles
any help please
I don't know if this is an error with eclipse or dropbox, but I seem to be unable to delete a file folder within my dropbox folder. Somehow, there was a creation of over 8300 file folders, all duplicates of the previous folder. I tried deleting from both command line, and explorer but get the same error:
I've also deleted…
I just noticed a few directories in C:\ with long, random hex values. Each of these contains an update directory.
When I click on the update directory, I get an access denied message, even though my account has admin privileges (XP Home).
Two questions: How can I delete these folders, and how is it possible to restrict a…