Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Windows host script help

Featured Replies

Hi... I am new to vbs scripting.. :). But I am working on learning... :rolleyes:

I need a script to re-set a user's password from a flat file. I would like to know if it is posible, that some could give a hand with this or to give some idea on how to get the script to read the file.

My Project: I need change a password for a user that I have setup on all my clients (Domain). The user is name as follow (user+ID) ID is the id for the client.

For example RemoteUser102.

1) ClientsEnv.txt (flat file)

User Name PWS

------------------ ------------

RemoteUser100 Password

RemoteUser101 Password

2)ResetPws.vbs

<script code>

Can anyone help me with this? :D

Thanks,

Dtek


It depends on the server operating system and other software. UNIX, Linux, Apache, and the specific versions of each. I use all three, but I also use two control panels with a windows type of GUI. Both are already pre-scripted and the conventions you ask about are already built-in. Just a few clicks and job done. The first is the Web Host Manager (WHM) and the second is Control Panel (cPanel) available at www.cpanel.net Demos of both are found at www.demodemo.com Password demo is at http://www.demodemo.com/1/tutorials/whm_xskin_pw.htm

Popular script site that covers just about everything:

http://www.hotscripts.com

Custom scripts for cPanel:

http://html.conclase.net/cp/scripts/

  • Author

:rolleyes:

MSNwar, Thank for taking the time and pointing me to some reference. I will give this a try....

BTW the script is to be use on Windows 2000 Domains and stand alone servers... Just incase you come across to any scripts that match my search...

:)

Peace!

\\//

| |

---

Dtek

  • 2 weeks later...

Just use a ADSI connection to the server itself (SAM) or AD, and use the changePassword function.

Set oUser = GetObject("WinNT://" & sDomain & "/" & sUserName & _

",user")

oUser.ChangePassword sPword1, sPword2

(if you want to use AD use a LDAP path ("LDAP://CN=YourUserName UO=YourUserOU, dc=Dom, DC=COM")

gr /\/\o\/\/

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.