Jump to content

Recommended Posts

Posted

HI ,

I would like to know why when i use RUN AS SET with my local account : administrateur with no password , it doesn't works?

When I set a password for the same account , It works !

I set my account "administrateur" with no password

If IsAdmin() = 0 Then RunAsSet("administrateur", @Computername,"") don't work

I set my account "administrateur" with the password "test"

If IsAdmin() = 0 Then RunAsSet("administrateur", @Computername,"test") works

??

thanks for your help

Posted

Odd. Although I just have to comment that it seems pretty foolish to have an administrator account with no password. :lmao:

<{POST_SNAPBACK}>

yes It is! , but it is not my problem !

for example , this script:

RunAsSet("administrateur", @Computername,"")

RunWait("Notepad.exe")

reporte this error (in french) :

"error : Unable to execute the external program

Echec d'ouverture de session , restriction de compte utilisateur.Des raisons possibles sont des mot de passe vides n'étant pas autorisés, des restrictions sur les heures d'ouvertur de session ou une restriction de stratégie a été appliquée."

Screenshot of this error is an attachement

RunAsSet don't work with an account who as no password?

If Somebody has an idee....

thanks

error.doc

  • Developers
Posted

yes It is! ,  but it is not my problem !

for example , this script:

RunAsSet("administrateur", @Computername,"")

RunWait("Notepad.exe")

reporte this error (in french) :

"error : Unable to execute the external program

Echec d'ouverture de session , restriction de compte utilisateur.Des raisons possibles sont des mot de passe vides n'étant pas autorisés, des restrictions sur les heures d'ouvertur de session ou une restriction de stratégie a été appliquée."

Screenshot of this error is an attachement

RunAsSet don't work with an account who as no password?

If Somebody has an idee....

thanks

<{POST_SNAPBACK}>

Its is correct that it gives an error when trying to use an account that has a Blank password. The error comes from windows... Try running the RUNAS program like:

RunAs /user:administrateur cmd

I get exactly the same error:

1327: Logon failure: user account restriction.  Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.

The big question is: do we concsider this and Problem or a Feature ?

I my mind , the Administrator passwork should NEVER be blank.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Its is correct that it gives an error when trying to use an account that has a Blank password. The error comes from windows...  Try running the RUNAS program like:

RunAs /user:administrateur cmd

I get exactly the same error:

The big question is: do we concsider this and Problem or a Feature ?

I my mind , the Administrator passwork should NEVER be blank.

<{POST_SNAPBACK}>

Thanks for your help JdeB

I finally found the solution has my problem thanks to you.

I modified the parameters in my GPO : "restreindre l'utilisation de mots de passe vierge par le compte local a l ouverture de session console" and then used secedit.exe to force update to my workstations and it works!

:lmao:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...