Lusodana Posted November 6, 2011 Report Share Posted November 6, 2011 Jeg har opgraderet min XP til Vista.Det blev dannet en mappe der hedder C:\windows.old og en ny c:\programmer (i gamle dage var dette ikke muligt) Mit problem er jeg får nægtet adgang til at slette "windows,old" og mappen "Programmer", der blev dannet under installation af XP. Jeg har prøvet flere ting, bland andet kommando "takeown" + "cacls", og start pc under sikker tilstand. Er der nogen der kan hjælpe? Quote Link to comment Share on other sites More sharing options...
-pops- Posted November 6, 2011 Report Share Posted November 6, 2011 In English: I have upgraded my XP to Vista.It was created a folder called C: \ windows.old and a new c: \ program files (in the old days this was not possible)My problem is I get denied access to delete "windows, old" and the "Program", which was created during installation of XP.I've tried several things, among others command "takeown" + "cacls" and start the PC in safe mode.Is there anyone who can help? Quote Link to comment Share on other sites More sharing options...
Alan2273 Posted November 6, 2011 Report Share Posted November 6, 2011 Gå til Start> Alle programmer> Tilbehør> Systemværktøjer> Diskoprydning.I "Hvilke filer til at rydde op" dialog> Klik på "Filer fra alle brugere på denne computer".Vælg det drev, hvor din Windows.old er.I Diskoprydning dialogboksen vælges tidligere Windows-installation ® i "Filer for at slette" liste. Klik på OK.Dette bør rydde op på over 2 GB plads på harddisken besat af mappen Windows.old. Go to Start > All Programs > Accessories > System Tools > Disk Cleanup.In "Which files to clean up" dialog > Click on "Files from all users on this computer".Select the Drive where your Windows.old is.In Disk Cleanup dialog, select Previous Windows installation(s) in the "Files to delete" list. Click on OK.This should clean up above 2 GB of hard disk space occupied by the Windows.old folder. Quote Link to comment Share on other sites More sharing options...
Lusodana Posted November 6, 2011 Author Report Share Posted November 6, 2011 :) Thank you Alan, the windows.old is gone. But :( the old programs directory is still there and I'm not allowde to delete it. Quote Link to comment Share on other sites More sharing options...
Alan2273 Posted November 7, 2011 Report Share Posted November 7, 2011 Open an administrator command prompt by typing cmd into the start menu search box, and hit the Ctrl+Shift+Enter key combination.To take ownership of the file, you’ll need to use the takeown command. Here’s an example:takeown /f C:\Windows\System32\en-US\winload.exe.muiThat will give you ownership of the file, but you still have no rights to delete it. Now you can run the cacls command to give yourself full control rights to the file:cacls C:\Windows\System32\en-US\winload.exe.mui /G geek:FNote that my username is geek, so you will substitute your username there.At this point, you should be able to delete the file. If you still can’t do so, you may need to reboot into Safe Mode and try it again. For the filename in the example. Åbn en administrator kommandoprompten ved at skrive cmd i Start-menuen søgefeltet, og tryk på Ctrl + Shift + Enter tastekombination.At overtage ejerskabet af filen, skal du bruge takeown kommandoen. Her er et eksempel:takeown / f C: \ Windows \ System32 \ da-DK \ winload.exe.muiDet vil give dig ejerskabet af filen, men du har stadig ingen rettigheder til at slette den. Nu kan du køre cacls kommandoen til at give dig selv fuld kontrol rettigheder til filen:cacls C: \ Windows \ System32 \ da-DK \ winload.exe.mui / G geek: FBemærk, at mit brugernavn er nørd, så du vil erstatte dit brugernavn der.På dette tidspunkt, skal du være i stand til at slette filen. Hvis du stadig ikke kan gøre det, kan det være nødvendigt at genstarte i fejlsikret tilstand og prøve det igen. For filnavnet i eksemplet, var jeg i stand til at overskrive det uden safe mode Quote Link to comment Share on other sites More sharing options...
Lusodana Posted November 7, 2011 Author Report Share Posted November 7, 2011 Thanks again Alan But I have to directories with the samme name "C:\programmer", as you can se in the attached file . How can I se the diference between the old from XP installation (it this one I want to delete) and the current one in Vista? regards fernando Quote Link to comment Share on other sites More sharing options...
Boris Posted November 7, 2011 Report Share Posted November 7, 2011 Under their properties, look at the dates on which these 2 directories were created. The older should be the first XP installation. Quote Link to comment Share on other sites More sharing options...
Lusodana Posted November 9, 2011 Author Report Share Posted November 9, 2011 I know that, and yet! I hope you patiens, because it is not just easy. Try to follow the history, because this is a lille bit strange. 1. I purchase the PC (HP EliteBook) in May 2009 with XP also installed samme month. 2. I upgraded to Vista in August 2011 3. The "PROGRAM" directory that Vista uses now (I'm 100% sure of that) have creation date the 2nd November 2006 :0 (the PC was not made at that time). 4. The other "PROGRAM" directory have creation date the 11th September 2008 :0 :0 (stil before XP installation and stil before upgrading to Vista). 5. I have been able to delete manually most of the files in "C:\Programs\" (the one I wish to delete). As you can se, I have still 6 directories I'm not allowed to delete. Please se the 2 jpg files attached. If I use the command "takeown f/ C:\Programs" I still don't know which one I takeown of. As well as with the next command "cacls /f C:\Programs ..........". Do you follow me and understand my problem? RegardsFernando Quote Link to comment Share on other sites More sharing options...
Lusodana Posted November 11, 2011 Author Report Share Posted November 11, 2011 I'm been able to rename the old "programs" (or programmer in danish) directory to somme thing else. I haven't done yet, but I think that now I do will be abel to delete it. Thanks for help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.