Log in

View Full Version : Windows Script Hosting


Bad News
Aug 18, 2008, 02:07 PM
Can anyone tell me how to turn on my administrator rights, so I can then access my script hosting?

When I try to run a script (.vbs), it tells me I have no admin rights.

I have had to do this B4, but I can't remember how I did it.

Thank you one and all. :confused:

JBeaucaire
Aug 18, 2008, 02:20 PM
A lot of missing info... most importantly what Windows operating system are you talking about?

Generally though, you don't "turn on" Administrator rights, the login you are using is either an adminsitrator account or a limited user account. When you login to any administrator account, you can create accounts, change limited accounts to administrator accounts.

Go to CONTROL PANEL > USER ACCOUNTS and see what type of account your current account is, limited or administrator.

Bad News
Aug 18, 2008, 03:14 PM
He is running Win XP Pro / SP2. It is not my machine, but a friends. I have checked with user and he is the administrator on the system.

JBeaucaire
Aug 19, 2008, 12:20 AM
Check the registry:
START > RUN > regedit
Find the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings
Create any of the values below to enable the options:
Enable (REG_DWORD)
"0" - disabled
"1" - enabled
Remote (REG_DWORD)
"0" - disable remote scripts
"1" - allow remote scripts
DisplayLogo (REG_SZ)
"0" - no logo
"1" - display logo
Restart Windows for the changes to take effect

JBeaucaire
Aug 19, 2008, 12:24 AM
One last thing, does the administrator account ACTUALLY have a password, a real one, not just a blank one that gets skipped during login? Many security features in Windows require real passwords during login to function properly.

Bad News
Aug 19, 2008, 01:38 PM
He has a Blank one. But, I did as you said and everything OK now. Thanks everyone...