Monday, October 15, 2007

Vista en User Profiles




KB art. nr. 930955

try this:
script1



script2

strComputer ="." Set objAccount = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _ & strComputer &"\root\cimv2:Win32_UserAccount." _ &"Domain='personeel',Name='p0082001'") Set objUserProfile = GetObject("winmgmts:{impersonationlevel=impersonate}!\\" _ & strComputer &"\root\cimv2:Win32_UserProfile." _ &"SID='" & objAccount.SID &"'") objUserProfile.Delete_




result:



Situation:

Monday, March 12, 2007

evaluatie IIS cursus

Class: M2576 Mar 12, 2007 Instructor: Bart Portier Location: Crescendo - KHK Link: http://www.metricsthatmatter.com/MTMStudent/Gateway.aspx?orig=4&event=1185297&enddate=Mar 12 2007 12 2007
--------------------------------------------------------------------------------

Tuesday, March 6, 2007

User Account Control: what is it really doing? here's the proof





Here's a quick test to see how Vista's UAC is affecting your Access Token. This way it looks like a lot more than just an extra pop-up to check and the click on.

Log on as administrator and make sure UAC is activated on your test machine.

First: make a shortcut to cmd.exe on your desktop.


- open a command prompt by double - clicking on the shortcut
- open a second command prompt by right-clicking on the shortcut and choosing "run as administrator".
Now you have a command window with normal privileges and one with elevated priviliges.

Run this command in both windows "whoami /user /groups /priv" and compare the lists in both command windows (look at the screenshots for the examples)