Tuesday, November 30, 2010
Wednesday, November 24, 2010
Elevation PowerToys / Execute programs elevated from command prompt
Microsoft Elevation PowerToys
Elevation from command line
Run elevated from CMD
http://technet.microsoft.com/en-us/magazine/2008.06.elevation.aspx
http://download.microsoft.com/download/f/d/0/fd05def7-68a1-4f71-8546-25c359cc0842/Elevation2008_06.exe
Elevation from command line
Run elevated from CMD
http://technet.microsoft.com/en-us/magazine/2008.06.elevation.aspx
http://download.microsoft.com/download/f/d/0/fd05def7-68a1-4f71-8546-25c359cc0842/Elevation2008_06.exe
Labels:
Elevation Elevated PowerToys
Powershell scripts
$Win32_OS = Get-WmiObject Win32_OperatingSystem -computer PutHereComputerName -credential domain\administrator | select *
Labels:
Powershell scripts
Delete Windows User Profile
The users hive is located under their user directory (NTUSER.DAT) so deleting the directory with an
If the user logs in and the directory doesn't exist, it'll be created again.
Unfortunately, without having them elevate themselves as admins, they won't be able to delete user profiles.
Batch file:
rmdir /s /q {username}
should suffice. The only part that wouldn't be deleted is under the profile list in the registry HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
but all that does is map the SID to a profile location.If the user logs in and the directory doesn't exist, it'll be created again.
Unfortunately, without having them elevate themselves as admins, they won't be able to delete user profiles.
Batch file:
set /p USERTODEL=Enter the username to delete: set USERTODEL=C:\Users\%USERTODEL%
if exist "%USERTODEL%" rmdir /s /q %USERTODEL%
Tuesday, November 23, 2010
Monday, November 22, 2010
Saturday, November 20, 2010
Friday, November 19, 2010
Wednesday, November 17, 2010
Microsoft Security Essentials (MSE)
How to uninstall Symantec Endpoint Protection (SEP) client silently using the command line
Repair Microsoft Security Essentials using MSE Restore Tool v1.0
http://wpkg.org/MSSecurityEssentials
http://www.winhelponline.com/blog/updating-microsoft-security-essentials-using-command-line/
http://www.appdeploy.com/packages/detail.asp?id=1647
Repair Microsoft Security Essentials using MSE Restore Tool v1.0
http://wpkg.org/MSSecurityEssentials
http://www.winhelponline.com/blog/updating-microsoft-security-essentials-using-command-line/
http://www.appdeploy.com/packages/detail.asp?id=1647
Subscribe to:
Posts (Atom)
Mimmo97 Blog Archive
-
▼
2010
(64)
-
▼
November
(10)
- Tariffe Internet Mobile / Internet da Cellulare
- Microsoft Sync Framework SyncToy PowerToy
- Elevation PowerToys / Execute programs elevated fr...
- Powershell scripts
- Delete Windows User Profile
- Last Logon Attribute for workstations
- Upgrading from Windows XP to Windows 7
- Symantec Norton Power Eraser
- Laplink PCmover
- Microsoft Security Essentials (MSE)
-
▼
November
(10)