Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Security Apps
Hard_Configurator Tools
Simple Windows Hardening
Message
<blockquote data-quote="Andy Ful" data-source="post: 898238" data-attributes="member: 32260"><p>I forgot that the archive is password protected <img class="smilie smilie--emoji" loading="lazy" alt="🙃" title="Upside-down face :upside_down:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f643.png" data-shortname=":upside_down:" />:</p><p>hard_configurator5111</p><p></p><p>This function works well (both on Admin Account or SUA) and normally the variable $User[0] contains the SID of the Current User. I think that probably some security prevents reading the SID.</p><p></p><p>Please replace the function _GetCurrentUserSID() with this code:</p><p>[CODE]Func _GetCurrentUserSID()</p><p> Local $User = _Security__LookupAccountName(_GetCurrentUser(),@ComputerName)</p><p> If @error Then Return SetError(1,0,"")</p><p> Return 1</p><p>; Return $User[0]</p><p>EndFunc</p><p>[/CODE]</p><p></p><p>But do not apply restrictions.</p></blockquote><p></p>
[QUOTE="Andy Ful, post: 898238, member: 32260"] I forgot that the archive is password protected 🙃: hard_configurator5111 This function works well (both on Admin Account or SUA) and normally the variable $User[0] contains the SID of the Current User. I think that probably some security prevents reading the SID. Please replace the function _GetCurrentUserSID() with this code: [CODE]Func _GetCurrentUserSID() Local $User = _Security__LookupAccountName(_GetCurrentUser(),@ComputerName) If @error Then Return SetError(1,0,"") Return 1 ; Return $User[0] EndFunc [/CODE] But do not apply restrictions. [/QUOTE]
Insert quotes…
Verification
Post reply
Top