Is there an "sudo" for Windows XP?

mcvickj

Diamond Member
Dec 13, 2001
4,602
0
76
Every once in a while AVG seems to update the program and keeps adding an unwanted icon on the desktop. I do not wish for it to be there.

The computer in question starts up by default into an account that is a limited user. I want to be able to delete the icon off the desktop without having to log off the limited user and into an administrator account.

Right now I have been doing Start > Programs > Accessories > right click on Command Prompt > Run As.

It would be great if I could just go to Start > Run and type in

"sudo" delete c:\Documents and Settings\All Users\Desktop\AVG.lnk
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I believe there's a runas.exe that goes along with the Run As right-click menu option, but you'd still have to run cmd in order to delete the file as I don't think there's a separate delete/del command; it's built into cmd.
 

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81
runas /user:ComputerName\AdministratorAccountName "del 'c:\Documents and Settings\All Users\Desktop\AVG.lnk'"
or
runas /user:ComputerName\AdministratorAccountName "del ""c:\Documents and Settings\All Users\Desktop\AVG.lnk"""
 
Last edited: