search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
Windows Vista GroupsView
Windows Vista Administration_Accounts_Passwords
Windows Vista File_Management
Windows Vista Games
Windows Vista General
Windows Vista Hardware_Assessment
Windows Vista Hardware_Devices
Windows Vista Installation_Setup
Windows Vista Mail
Windows Vista Music_Pictures_Video
Windows Vista Networking_Sharing
Windows Vista Performance_Maintenance
Windows Vista Security

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Application Development
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Windows Vista General Posts  Ask A New Question 

XP commands don't work on Vista - Paul Sala

Monday, October 01, 2007 10:02 AM

I used to have to reboot my PC once and awhile to reset my DSL connection.
Then I made a bat file to reset the connection to avoid rebooting. Here are
the commands that are in that bat file:
net stop "dns client"
net start "dns client"
ipconfig /release
ipconfig /renew

This works fine on XP, but it fails on Vista. Here is what I see when it
runs on Vista as a user that has admin rights:

c:\net stop "dns client"
System error 5 has occurred.
Access is denied.

c:\net start "dns client"
System error 5 has occurred.
Access is denied.

c:\ipconfig /release
The requested operation requires elevation.

c:\ipconfig /renew
No operation can be performed on Local Area Connection while it has its
media disconnected.

Any ideas on how to get this to work on Vista?

Thanks!
reply
 

Create a shortcut to the batch file. - Kerry Brown

Monday, October 01, 2007 10:04 AM

Create a shortcut to the batch file. Right click on it and pick Run as
administrator.

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca
reply

You have to run as Administrator. - JCS

Monday, October 01, 2007 10:07 AM

You have to run as Administrator.  Most likely, you haven't enabled THE
Administrator account.  Try right-clicking the file, then select Run as
Administrator.  The UAC prompt will appear, click OK and it should run.
Otherwise, you'll need to make sure to enable THE Administrator account, log
in to that account, then run the bat file.
reply

XP commands don't work on Vista - Paul Sala

Monday, October 01, 2007 10:32 AM

I only have one account at the moment, which my first name: paul.

1. I have not enabled the THE admin account yet, how do I do that?
2. Can I make the ID paul THE admin account?
3. Once the admin account is enable, will I have two login acounts names to
choose from when I start my laptop?

thanks
reply

Paul,You need to run the batch program with elevated privileges. - Michael

Monday, October 01, 2007 10:46 AM

Paul,

You need to run the batch program with elevated privileges.
Instead of double clicking the bat file icon, right click it and select 'Run
as Administrator'

Also if the network is locked up, right clicking the network icon in lower
right and click diagnose and repair often works.

Michael
reply

You don't need to enable the "administrator" account. - Kerry Brown

Monday, October 01, 2007 11:04 AM

You don't need to enable the "administrator" account. It is disabled for
security reasons and is not needed to administer your computer. Use the Run
as administrator option. Security works differently in Vista from previous
versions of Windows.

http://www.jimmah.com/vista/security/uac.aspx

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca
reply
 
 

Previous Microsoft Windows Vista General conversation.