Overview
"The sign-in method you're trying to use isn't allowed" කියන error එකෙන් අදහස් වෙන්නේ security policy එකක් ඒ account එකේ logon type එක (local හෝ remote) block කරනවා කියලා. මේ guide එකෙන් හරි logon permissions grant කරලා deny policies clear කරන ආකාරය පෙන්නනවා.
Security policy එකකින් account එකක sign-in method එක block කරන්න පුළුවන්.
Key Takeaways
- Error එක ඇති වෙන්නේ User Rights Assignment policies වලින්.
- Account එක "Allow log on locally" (හෝ Remote Desktop හරහා) එකට add කරන්න.
- ඒක matching "Deny log on" policy එකෙන් remove කරන්න.
- Antivirus හෝ domain GPOs වලිනුත් මේ restrictions enforce කරන්න පුළුවන්.
ඇයි මේක වෙන්නේ
Windows එකෙන් User Rights Assignment හරහා කොයි accounts locally හෝ remotely sign in වෙන්න පුළුවන්ද control කරනවා. Account එකට "Allow log on" right එක නැත්නම්, හෝ ඒක අදාළ "Deny log on" policy එකේ list වෙලා නම්, මේ error එක එනවා.
Fix 1 — Allow Log On Locally
1. Windows key + R press කරලා secpol.msc type කරලා Enter කරන්න (Pro/Enterprise).
2. Local Policies > User Rights Assignment වලට යන්න.
3. "Allow log on locally" open කරලා user එක හෝ ඒගොල්ලන්ගේ group එක add කරලා OK කරන්න.
4. Remote logons වලට, "Allow log on through Remote Desktop Services" ත් බලන්න.
Fix 2 — Deny Logon List එකෙන් Remove කරන්න
1. එම User Rights Assignment section එකේ, "Deny log on locally" open කරන්න.
2. Affected user/group එක list වෙලා නම් remove කරන්න.
3. "Deny log on through Remote Desktop Services" එකටත් repeat කරන්න.
4. gpupdate /force run කරලා retry කරන්න.
Fix 3 — Domain Policy සහ Antivirus Check කරන්න
- Domain PCs වල, restriction එක GPO එකකින් එන්න පුළුවන් — administrator එක්ක කතා කරන්න.
- සමහර endpoint security logon types block කරන්න පුළුවන්; ඒක තාවකාලිකව disabled කරලා test කරන්න.
- Test කළාට පස්සේ security ආපහු enable කරලා proper exceptions add කරන්න.
Troubleshooting
Problem: secpol.msc available නෑ.
Solution: ඒක Pro/Enterprise only. Home එකේ, policy එක සාමාන්යයෙන් domain GPO එකකින් set කරලා; administrator එක්ක කතා කරන්න, නැත්නම් registry equivalents වලින් adjust කරන්න.
Problem: Restart එකට පස්සේ change එක reverts.
Solution: Domain Group Policy එකක් restriction එක reapply කරනවා — ඒක IT විසින් GPO level එකේ වෙනස් කරන්න ඕන.
Problem: Remote logon තවම blocked.
Solution: Account එක "Allow log on through Remote Desktop Services" එකේ ඉන්නවා, matching Deny policy එකේ නෑ කියලා බලන්න.
Problem: Security software install කළාට පස්සේ පටන්ගත්තා.
Solution: Antivirus/endpoint agent එක disabled කරලා test කරන්න; ඒකෙන් fix වුණොත්, off තියනවා වෙනුවට exception එකක් add කරන්න.
Conclusion
මේ error එක logon-rights problem එකක්. Account එක correct "Allow log on" policy එකට add කරලා, ඕනෑම "Deny log on" list එකෙන් remove කරලා, domain GPOs බලන්න — එතකොට sign-in method එක ආපහු permit වෙනවා.
About TechHub
මේ guide එක TechHub Knowledge Base එකේ කොටසක්. තව step-by-step IT guides සහ support වලට techhub.com.lk එකට යන්න.















