منتديات شبكة الجيل الجديد للتكنولوجيا
 
أقسام موقع ITNAT        
 
 
 

 
 

شاهد الدورات المتاحة الآن وصوت ماهي الدورة الأفضل بالنسبة لك،، اضغط هنا

 

 
 
العودة   ITNAT.COM Forums > الأرشيف > أرشيف منتدى ITNAT لغاية تاريخ 20 - 5 - 2008 > الشبكات العام > ENGLISH Network Forum

ENGLISH Network Forum This Forum will provide complete support for non-arabic members.

رد
 
أدوات الموضوع طرق مشاهدة الموضوع
قديم 27-09-2006, 08:27 AM   #1
kingssongs
مراقب قسم الكتب الإلكترونية
 
الصورة الرمزية kingssongs
 
تاريخ التسجيل: Feb 2006
الدولة: ♥ العراقـــ ♥
المشاركات: 548
Post Using a Batch File for Resetting Domain Passwords

In some organizations the need may arise for a member of staff to be able to reset passwords for users without having to access the Active Directory users and computers snap-in. One solution for this is to setup a batch file that will allow the staff member to do this in an automated fashion. This can be accomplished by using the often underestimated NET command.
The following file named “pwreset.bat” will do exactly what we wish to accomplish:
@echo off
SET /P usr=Please enter the username you wish to reset the password for:
net user %usr% * /DOMAIN
Once you run pwreset.bat the file prompts the staff member for the username of the account they wish to reset. After this it prompts for what the password should be set to, then requests the password be typed a second time for confirmation purposes. Once this is done the user account is updated on the domain controller and you are good to go!


Regards
__________________
[عزيزي الزائر يتوجب عليك التسجيل للمشاهدة الرابطللتسجيل اضغط هنا]
kingssongs غير متواجد حالياً  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
رد مع اقتباس
قديم 27-09-2006, 09:26 PM   #2
fmfm
مشرف إداري
 
الصورة الرمزية fmfm
 
تاريخ التسجيل: Mar 2005
المشاركات: 2,257
افتراضي

thnx on the tip

but is that applicable under the admin or the limited users???
__________________
fmfm
-----------------------------------------------------

fmfm غير متواجد حالياً  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
رد مع اقتباس
قديم 28-09-2006, 02:42 PM   #3
kingssongs
مراقب قسم الكتب الإلكترونية
 
الصورة الرمزية kingssongs
 
تاريخ التسجيل: Feb 2006
الدولة: ♥ العراقـــ ♥
المشاركات: 548
افتراضي

For both of them

Thanx
__________________
[عزيزي الزائر يتوجب عليك التسجيل للمشاهدة الرابطللتسجيل اضغط هنا]
kingssongs غير متواجد حالياً  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
رد مع اقتباس
قديم 28-10-2006, 05:29 PM   #4
الغرام
مدير شبكة
 
الصورة الرمزية الغرام
 
تاريخ التسجيل: Oct 2006
المشاركات: 397
افتراضي

Thanx
الغرام غير متواجد حالياً  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
رد مع اقتباس
رد


الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 
أدوات الموضوع
طرق مشاهدة الموضوع

تعليمات المشاركة
لا تستطيع كتابة مواضيع
لا تستطيع كتابة ردود
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

كود [IMG] متاحة
كود HTML معطلة
Trackbacks are معطلة
Pingbacks are معطلة
Refbacks are معطلة
الانتقال السريع إلى

 
     
 
الساعة الآن: 04:29 PM


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
حقوق الطبع محفوظة للجيل الجديد للتكنولوجيا
 

Copyright ©2008 ITNAT Networks, Inc. All rights reserved.

 

Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.