PROBLEMS WITH USER ACCOUNTS
For your atleast 8 years I have been using my primary email address as an adminstrative user name and 4 months I changed my ISP, .I followed the instructions and make a new user name and then make it the adminstrative user acct. Well that was OK for about 8 hours then when I turned on the computer again it did not recognize the new name and said the password was not right. I have a new email address now but user accounts are not going to be email addresses again.
I am locked out of the USER Accounts Page on Win 10. I can still go to my Microsoft accounts. but I can not install or uninstall programs on my computer presently.
Is there a way to make Date field read only in SharePoint list data sheet view ?
Reply:
You can make read only in any of the custom list view nly.
https://social.technet.microsoft.com/Forums/office/en-US/44beb6c2-6ee5-49c5-90aa-17ad2bc8cd88/how-to-make-few-columns-editable-and-rest-read-only-in-sharepoint?forum=sharepointdevelopmentprevious
You can't make read only in data sheet view.
Please remember to click Mark as Answer on the answer if it helps you
------------------------------------
Reply:
------------------------------------
How to deploye ssis package using teamcity?
Hi
i want to deploy ssis package in team city? i followed the following link but when i downloaded that code i am getting error on code like missing assembly
using Microsoft.DataTransformationServices.Project;
using Microsoft.DataTransformationServices.Project.ComponentModel;
using Microsoft.DataTransformationServices.Project.Serialization;
using Microsoft.DataWarehouse.VsIntegration.Shell.Project.Configuration;
using Microsoft.SqlServer.Dts.Runtime;
how i can get these assembly ?
http://blogs.adatis.co.uk/jonathon%20eveoconnor/post/Continuous-Integration-With-TeamCity-Automating-SSIS-Build-and-Deployment
Reply:
That would be a question for TeamCity.
------------------------------------
All team NICs become disconnected MsLbfoSysEvtProvider 16949
I have a cluster where by all the team members become disconnected causing the cluster to failover.
yes. this is a hyper-v cluster BUT the failing team is not the one attached to the hyper-v switch but rather a second team that has 3 interfaces (csv,live migration, management) with nothing configure on the default interface primarily it seems like its the management interface that initially disconnects.
I get a ton of event 16949 MsLbfoSysEvtProvider Team Nic GUID has disconnected.. then finally the cluster fails. In 5 or so minutes time all the members reconnect and the cluster is back normal. This is happening a couple times a day...and the VM's abnormally terminate when the failover occurs.. so I need to find a solution.. I have a case open with MS and Dell (R720s)... so far all they do is ask silly questions .. been ongoing for a two weeks now. Hoping this happens to Office 365 or MS Azure servers.. then maybe an intermittent issue will get some attention...
I am using latest updates on 2012, drivers and firmware for Broadcom BM5719 A1 Nic cards.. using LACP switch dependent address hash to a cisco 3750 and the port channel looks clean and showing a single interface for the team.
Maybe just switch to VMware good gosh MS..... frustrated.
- Changed type Nick Gu - MSFT Thursday, June 6, 2013 3:01 PM
Reply:
Hi,
Thank you for the post.
How do you configure NIC team in Windows server 2012, do you use third party teaming software? Since you have open a case with Microsoft, you should wait and a dedicated Support Professional can assist with this request.
Regards,
Nick Gu - MSFT
------------------------------------
Reply:
Nick,
This is all inbox 2012 teaming no third party software is involved.
Update:
I tracked down a MS cluster person at TechEd..... as well as still having the open ticket with MS PSS and Dell... So far no new information except the MS person has indicated that it is most likely a nic card driver bug but hasn't revealed any details as to hardware/driver combinations...
Right now we have solved the problem by changing the configuration to use Switch Independent Teaming instead of Switch Dependent LACP.. kinda defeats the purpose of link aggregation as the VM's are now restricted to the bandwidth available on a single nic (in my case 1gig)
Fow what its worth .. MS PSS has been no help whatsoever.. all they say is that it is intermittent so they cant help. Nice when my production environment is completely offline ... but no one can help... :(
Please do not mark this as an answer... the issue is not resolved from my perspective. And I don't believe it would help anyone else with this issue ..
- Edited by SteveLith Wednesday, June 12, 2013 2:08 PM
------------------------------------
Reply:
Hey there,
experienced today the same Problem:
one NIC of the combined Host-Management/VM Switch Team (two NICs) went down, then the complete cluster failed.
Any update on this problem?
Config: IBM x Server with Intel Onboard NetworkCard.
Thank you!
------------------------------------
Reply:
I would like to revive the carje about meeting the same problem as you, namely:
a 2012 hyperv cluster (full update)
a Broadcom teaming 2x10GB (LACP hyperv-port)
the vnics create over the vswitch : one for live migration, management, and csv
When I do Live Migration, I have error 16949 and I lose teaming, sometimes see bsod (DPC WATCHDOG VIOLATION)
@steve: Have you had any updates from MS
Thank you very much in advance
- Edited by Frederic Stefani Tuesday, October 29, 2013 2:28 PM
------------------------------------
Reply:
Hi Frederic,
Nope... no info from MS on this and I have not heard back at all from my contact at TechEd.. he had an engineer contact me to try to reproduce the issue but never heard back. The only thing I could do was to use switch independent mode... obviously you give up some link aggregation when a VM requires more than the bandwidth of one adapter .. but at least it works :(
sorry I have no other information....
Steve Lithgow
------------------------------------
Reply:
Hi Steve,
thank you for your quick answer
I opened a ticket with Microsoft but for the moment we do not find a solution and it starts to last
unfortunately I cannot go into independent switch, it would change the configuration of switches and core network :/
Thanks
----------------------------------------------------------
Frédéric Stefani
------------------------------------
Reply:
I can fully appreciate the changes to the switches.... BUT in case you haven't already tried this.. the "Switch Independent" mode will work even if the switch ports are configure for ether channel LACP .
I know this because this was affecting our production virtualization environment and I didn't have time to wait for port configuration changes.. so I just changed the teaming configuration in 2012 to use Switch Independent just to see if it fixed the issue.. turns out... ether channel doesn't complain.. and the teaming works as expected.. I ran this way for nearly two weeks before the ports were reconfigured with no ill affects.. AND best of all... my cluster stayed up ! :)
I will try to find the contact info for the person at MS that was looking into the issue... stand by...
Steve Lithgow
------------------------------------
Reply:
Frederic,
I found my old case.. I forgot I had opened a case both with Dell and MS for this issue... the case was finally closed due to my changing to Switch Independent mode...
For your reference: SR 11305101043028
I must not have kept the emails between myself and the MS representative I talked to at TechEd :( I am sorry for that... I know that I sent him all the case material for his reference as well...
------------------------------------
Reply:
Steve,
Thank you very much.
I will try to spend my teaming with switch independent mode,without repeating the setup switches that it is LACP.
I did not test it;)
I'll let you know the result
Frederic Stefani
- Edited by Frederic Stefani Tuesday, October 29, 2013 8:35 PM
------------------------------------
Reply:
I'm having the same problem.
My configuration is Server 2012R2, HP DL360p Gen8 with 4x GbE running as a storage server presenting iSCSI to a VMware cluster.
The problem we had was this reset itself over a 1 second duration and the iSCSI hosts dropped connection sending 20 VM's in to a tailspin. We had installed the latest HP Drivers and Firmware a week ago and this has only happened once so far, but am very fearful of this recurring. We have another identially configured server and thus far, experienced no issues.
The server are running Broadcom NIC's. Seems to me like it's less of a NIC issue and more an MS bug. The reason I say that, is we have IBM, Dell and now HP, with Intel and Broadcom NICs.
Jason.
Consultant | Nerd | Visionary. http://www.ethertech.com.au/ | http://www.deeperstates.com.au
------------------------------------
Reply:
I am having the same problem as well.
I am running a HP DL380 Gen 8 - server with 4 Broadcom nic's. The Nic's are configured in two LACP-teams.
The server is stand-alone Windows Server 2012 R2 Hyper-V host with internal storage.
The server was working perfectly for 10 days, when suddenly the nic-team connected to the VM-switch disconnected. All the VM's lost network-connectivity permanently. I was able to shut down the VM's and tried to do a reboot of the host, but the server did not go down until I used the power-switch!
The problem started approx 1 minute after our Veeam VSS-based backup started working with the VM's on the server, but I don't know if that is related.
We have two other identical servers running Windows Server 2012 (Not R2). They have been working fine for 8 months now.
Has anyone got any new information on this problem?
Magz
Magz66
------------------------------------
Reply:
Hi Magz,
We haven't had any issues thankfully. As our storage servers are not backed up by Veeam (but the VM's are) and the issue occurred during Business Hours, our Veeam infrastructure wouldn't have been the cause.
Since the firmware updates we have not had any issues. We also have Windows updates turned off on these servers so they are running baseline 2012 R2.
Hope this info helps.
Jason.
Consultant | Nerd | Visionary. http://www.ethertech.com.au/ | http://www.deeperstates.com.au
- Edited by Jason Kelton Monday, May 26, 2014 10:30 AM
------------------------------------
Reply:
I'm having the same issue here.
Dell R720xd running Server 2012R2 w/Hyper-V
3-port LACP team dedicated for VMs
Connecting to Dell 5548 switches.
------------------------------------
Reply:
Did anyone get anywhere with this please? We have the exact same issue, same setup too - Dell Servers and Switches, with Dell/Broadcom NICS...
Thanks
Phil
------------------------------------
Reply:
I have the same problem...same setup too. 2 identical Dell R720 servers with Broadcom NICs.
Strangely, the NIC teams are dropping at exactly the same time on both servers...down to the second. I'm wondering if it's the switch that is the problem.
I'm going to change one of them from LACP to Static to see if that helps.
EDIT: forgot to add that the switch logged 100% CPU just before one of the instances the teams dropped (but only 1 out of 3).- Edited by Mark Heddaeus Thursday, March 12, 2015 2:32 PM
------------------------------------
Reply:
------------------------------------
Reply:
After 9 weeks of struggle with the integrated Broadcom-NICs in our HP DL380 Gen8's, I bought new Intel-based NIC's and installed in the servers.
I have not had any problems after that.
It is very sad that the large server-manufacturers integrate Broadcom NIC's on their motherboards when they clearly have these weaknesses...
Magz66
------------------------------------
Reply:
Server 2012 R2, Dell PE R720 with 4 BCM onboard. LCAP on switches, Windows teaming LCAP mode.
Same issue over & over again.
Never ever had problem when using Broadcom own teaming solution.
So obviously the build in Windows own teaming is at fault
Seb
------------------------------------
Reply:
I am having the same problem as well.
I am running a HP DL380 Gen 8 - server with 4 Broadcom nic's. The Nic's are configured in two LACP-teams.
The server is stand-alone Windows Server 2012 R2 Hyper-V host with internal storage.
The server was working perfectly for 10 days, when suddenly the nic-team connected to the VM-switch disconnected. All the VM's lost network-connectivity permanently. I was able to shut down the VM's and tried to do a reboot of the host, but the server did not go down until I used the power-switch!
The problem started approx 1 minute after our Veeam VSS-based backup started working with the VM's on the server, but I don't know if that is related.
We have two other identical servers running Windows Server 2012 (Not R2). They have been working fine for 8 months now.
Has anyone got any new information on this problem?
Magz
Magz66
I've got exactly the same environment, with same problems... Have you found any solution to solve the problem?? Regards,
Dirk Suri
- Edited by Dirk Suri Tuesday, June 16, 2015 9:50 AM
------------------------------------
Reply:
Hello all,
Similar issue with a HP DL560 Gen8 cluster with Cisco 39xx Switches, I also think this looks more like a MS bug. Have used Broadcom drivers/firmware and their 'vendor' teaming without issue for years on many models of HP/Compaq DLs. It just seems unlikely they would bork a mature code base this badly. We started seeing this issue with 2012R2 teaming and it has been reported with several NICs (although most do seem to be Broadcom based). Rather than just complain I'll add a few observations..
The 'frequency' of the failure is affected by traffic volume. We are using Altaro backup rather than Veeam but when I ramped up the backup volume after moving additional VMs into the cluster, the frequency of the failure went from monthly to every three days (yikes).. Reconfigured the backups to limit UNC targets reducing net traffic shifted it back to being roughly weekly. I have been using Switch independent mode all along, now I am working on trying LACP but other comments here adn elsewhere make me wonder if it will help..
If I was looking to resolve this I would be looking for a gradual memory leak due to buffer pool 'mishandling' in the teaming core code. Since that kind of code generally relies on rapidly managing a small fixed size pool of non-paged memory, it is often the place where highly optimized code tweaks are used. That kind of code is notorioulsy difficult to get 'just right' (another reason I suspect the 'newer' element of the MS teaming stack, rather than the more mature Broadcom drivers/firmware stack).
I freely admit this is all just a flat out guess.. But hopefully since this is a bug that smacks down a shiny new enterprise feature in Windows 2012R2, maybe it will help someone to know more ugly details.
I found a 'workaround' that also seems to point at Windows teaming as the source. In my configuration the Team is our main Lan link, so when it goes people freak out. We do however have another non-teamed port of the same NIC on a management LAN providing a 'back-door' into the host. When the condition exists If I connect through the other NIC and go to network connections I can restore connectivity to the team by disabling/reenabling the underlying physical NICs one at a time followed by doing the same to the Team icon where the IP stack is configured. This restores connectivity without reboots migrations, or other more drastic measures. Sometimes resetting the team entity is not necesary, but most of the time it is. I also noticed that when the fault occurs on a single link only the VMs assigned to that link lose connectivity. Meanwhile the VMs assigned to the other link continue to work for a time, under those partial interrupts resetting the one physical nic fixes the issue. Left unattended the rest of the VMs drop a while later. (this behaviour also seems to point to buffer pool management issue in the teaming core). the fact that the other ports of the NIC are still workable and use the same drivers/firmware also seems to point away from them being the culprits.
It is a total hack and a workaround, but I have a scheduled job that pings our gateway through each interface in the team and resets the NIC if it detects a ping failure. That job executes every five minutes and fixes 'some' of the failures before they are noticed. That does not stop them from reeking havoc on scheduled backup and management activities, but it does limit the interruptions visible to the users. The failure mostly seems to hit at the end of a backup cycle (another indication that it is either traffic volume related or a cumulative leak of some kind).
That's my two-cents.. I sure hope this get fixed soon, I'm sorely tempted to just unteam and manually configure VMs to separate vSwitches, but throwing away redundancy and resilience seems to obviate the main point of clustering Hyper-V..
Dave Bean
- Edited by Shizzle-Dude Wednesday, June 17, 2015 9:56 PM
------------------------------------
Reply:
Hi,
Same issue here,
2 X HP DL380 Gen9 With a 1 X 4 port HP (Broadcom) 331i 1Gb Adapter and 1 X 2 port HP FLexfabric 10Gb Adapter.
3 teams:
Team 1 (Management Interface for the Host) Adapter 331i port 1 and 2 LACP Dynamic (Switch dependent) (2Gb)
Team 2 (Hyper-V trunk) Adapter 331i port 3 and 4 LACP Dynamic (Switch dependent) 2Gb)
Team 3 (Live Migration) Flexfabric Adapter port 1 and 2 LACP Dynamic (Switch dependent) (20Gb)
Every time the network (Hyper-v trunk Team 2) gets a heavy load, one of the two flex ports get disconnected, with the warning LACP Negotiation failed. The physical Interface on the server stays 'up' but the switch side (Cisco 3750) interface (one of the EtherChannel ports gets status 'notconnect'.
After a whole lot of drivers firmware and all kind of combinations in the teaming setting, We tried them all...
Non of the team settings remain totally stable...
We ended up With the following WorkAround;
little Powershell script with two lines;
$FailedNIC = Get-NetLBFOTeamMember | where operationalStatus -EQ failed
Restart-NetAdapter -name $FailedNIC.Name
Saved to ps1.
Then, find this event in de system log;
MsLbfoSysEvtProvider eventID 16949
Attach a task to this event (Wizard)
Walk through the wizard, start Powershell, With Argument the above script. Start in the location where the script is saved, and voila... The nic recovers itself when it fails.
Now we don't have to worry about all VM's loosing their network connections.
The waiting is for Microsoft now to come up with a solution.
My guess, would be... a buggy Microsoft Network Adapter Multiplexor Driver...
Regards,
Riconer
------------------------------------
Reply:
Riconer:
Excellent workaround.. thanks for posting it, much more elegant being tied to the event.
Since this does not occur with all NICs, the point of interface where the multiplexor picks up packets from the hardware driver looks like the hot-spot for this failure.. Maybe a handle unreleased causing the hardware buffer API to exhaust its handle pool ? (that would make it look like the hardware providers fault without actually 'being' their fault.)
On Broadcoms side they could 'protect' the API by automatically discarding handles based on age when buffer/handle pressure occurs.. Seems crazy to protect from bad consumers, but so far MS has insisted its the driver and not been willing to do much. From the customer perspective this kind of failure dragging on for so long makes everyone look bad. It would be nice to know that someone other than the end users was devoting real resources to resolving it..
Dave
- Edited by Shizzle-Dude Monday, June 22, 2015 11:25 AM
------------------------------------
Reply:
Riconer (et al)
Please look at this Blog posting:
The most recent HP SPP contains a v17 Broadcom driver that is 'supposed' to resolve one underlying issue. Ours could be a different issue, but the symptoms are very similar.
Essentially the Broadcom driver enables VMQ by default and MS says it shouldn't. Having differing 'assumptions' at these layers could prove to be the cause of the fault.
For the impatient the workaround is to disable VMQ on all adapters if under 10Gb speed, but there is a caveat: This WILL cause a DISCONNECTION (2-3 second observed) so don't do it during production hours.
Elevated Powershell one-liner can disable VMQ on all adapters (assuming no 10Gbs are present).
Get-NetAdapterVmq | % { if ($_.Enabled -eq 'True') {Set-NetAdapterVmq $_.Name -Enabled $false} }
So far this seems to have eliminated the fault on our cluster, but it is too early to be certain..
Dave
------------------------------------
Reply:
Bump,
Also having this issue, but across multiple MS fail-over clusters (file servers, SQL, and Hyper-V)
All running 2012R2, NIC Teaming with LACP.
Connected to Dell Force10 MXL switches with VLT port channels to the server.
when rebooting 1 of the upstream switches, in the OS I see one NIC team memeber interface go down, I never get dropped (RDP's through the same team) yet I get the MsLbfoSysEvtProvider 16949, then Cluster Network interface down, Cluster Network down, fail-over.
The Dell blades do indeed have Broadcom chips.
-Ryan Biddle-
------------------------------------
Reply:
Elevated Powershell one-liner can disable VMQ on all adapters (assuming no 10Gbs are present).
Get-NetAdapterVmq | % { if ($_.Enabled -eq 'True') {Set-NetAdapterVmq $_.Name -Enabled $false} }
This command saved my day. Thank you.
Regards,
Dirk
------------------------------------
Reply:
I also have this issue and it is reproducible.
I have 3 Dell R720 in a Hyper-V cluster using server 2012 R2. I recently upgraded the Broadcom NICs to the latest firmware and also upgraded to the latest drivers. Each server has 4 teams that were using LACP connecting to 4 Cisco SG500X-48.
I had one of the servers in maintenance mode and fully drained. I did a reboot and the cluster shutdown. I have the same errors messages that are mentioned above.
I changed one server at a time from LACP to static teams. I rebooted each server after making the change and got the same result of cluster shutting down. Once I had all 3 servers using static teams the reboot stopped shutting down the cluster. I don't know what is going on but I have cases open with Cisco and Dell.
Paul
- Edited by P Beaulieu Wednesday, May 18, 2016 6:45 PM
------------------------------------
Reply:
I also experience something very similar to this issue.
The environment is a five node failover cluster (not hyper-v), Windows Server 2012 R2, Dell R630 servers, Intel NICs teamed with LACP connected to a pair of stacked Cisco C3850s.
In my case approximately once per week most of the cluster nodes exhibit event 16949 for at least one of the NICs at exactly the same instant. Usually on at least one of the nodes both NICs show event 16949 which results in a resource failover. The fact that the disconnections occur at exactly the same time leads me to believe that the switch maybe the cause, however I have other servers not in a cluster which have stable LACP NIC teams connected to the same switch so I am stumped.
On the MsLbfoProvider I can see the following events that coincide with the disconnection
26 - ReceiveMachine: 0x5 -> 0x5
26 - ReceiveMachine: 0x5 -> 0x2
27 - Periodic Transmission Machine 0x2 -> 0x3
27 - Periodic Transmission Machine 0x3 -> 0x1
28 - Mux Machine 0x4 -> 0x3
5 - Stopping to use Member xxxxxxx for load balancing
Can anyone interpret this logging?
------------------------------------
Reply:
Hi Paul
Hope you are doing well, if you have not managed to resolve the issue I used the below article to resolve this issue.
http://www.aidanfinn.com/?p=16876
I updates my broadcom drivers to version in link below
http://www.broadcom.com/support/ethernet-nic-netxtreme-i-desktop-mobile
after I did this I confirmed via the Broadcom advanced control suite that all the port/eth interfaced on both my NIC"S were on the config.
I really hope this helps and works for you as it seems to have worked for me.
have a great afternoon
Regards
Andre
Hope this helps. Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
------------------------------------
Reply:
Hello,
I kind of have the same problem whit Hyper-V 2016 Core.
My nicteam adapter also goes offline (disconnected) as soon as I create a hyperV virtual switch on top of it.
https://social.technet.microsoft.com/Forums/windowsserver/en-US/ee9f5578-e9ac-4012-a784-13985fb191d6/nicteam-not-connected-after-hyperv-virtual-switch?forum=winserverhyperv#ee9f5578-e9ac-4012-a784-13985fb191d6
Any help would be much appreciated.
------------------------------------
Just FYI, blog post "New Network Controller High Availability Topic for Windows Server 2016"
Just FYI, Software Defined Networking (SDN) blog post "New Network Controller High Availability Topic for Windows Server 2016" at https://aka.ms/networkcontrollerha
James McIllece
blue screen watch dog error
Hi,
I get many blue screen crashes in my my dell XPS and no action and upgrade from support solved those issues. as I read in one forum I attach the dump file in the dropbox link
https://www.dropbox.com/s/hwhmttk22n09ie8/MEMORY.DMP?dl=0- Edited by dataminder Friday, January 13, 2017 7:20 AM
Reply:
------------------------------------
VS 2013 SSIS, SQL Server 2014 SSIS DTSX Package, DATA FLOW, OLE DB Source, stored procedure - can't pass parameters
Researching SSIS is a bit of a nightmare, there doesn't appear to be a 'modern' full set of tutorials.
After my question* a couple of days ago regarding how to pass variables from C# to SSIS Package Parameter and then into a script task, I then needed to pass an C# variable to SSIS Package Parameter and then into a Stored procedure within a reasonably complex data flow.
After reading around and then a fair bit of testing here is a discussion rather than a posting a question.
Here is a good reference post**
So here's how to do it:
1)Create a blank SSIS solution. Drag/drop a 'DataFlow Task' onto the 'Control flow'
Add an OLE DB Connection manager to your database server and database (not covered here). Use SQL Server Authentication. You may need to add a user and password to the server 'Securables'(not covered here).
2)Follow the solution from my previous post* and setup a Parameter. In my case Name=StoredProcedureParameter, data Type= string, Value= blank, False, False, empty.
If you are using C# 'web page' to pass in the Parameter then make certain the C# WebPage also uses the same parameter as the stored procedure, 'StoredProcedureParameter' in this example. It's a bit tricky so better to get your stored procedure going first and then use the same parameter names for the parameter mappings.
3) Drag and drop 'OLE DB Source' and a 'Sort' into the Data Flow. Connect the OLED DEB SOurce output to the Sort Input.
The original package used an ADO.NET source but I couldn't find a way of referencing Parameters so I followed the suggestion from various forum posts to use 'OLE DB Source'.
4) Right Click the connection arrow and 'Enable Data Viewer'
This will allow you to view the returned data.
5) Double click the OLE DB Source
Select the OLDE DB Connection manager to your server and database. Data access mode = SQL Command.
SQL Command test = Exec StoredProcedureName @StoredProcedureParameter =?
Click Parameters Parameters = @StoredProcedureParameter, Variables = $Package::StoredProcedureParameter, Param Direction = Input
Preview will not work. do not worry.
6) Run the SSIS package in debug. If you have errors then Look at the 'Execution Results'. Maybe run 'SQL Profiler' (a MS SQLSERVER utility)
With any luck the dataviewer will return some data.
7) If in doubt add something at the top of your stored procedures that makes it a bit fault tolerant.
Something like this:
ALTER PROCEDURE [dbo].[StoredProcedureName] @StoredProcedureVariable varchar(60)
AS BEGIN
DECLARE @QueryDateYesterday date set @QueryDateYesterday = DATEADD(DAY,-1,GetDate())
if @StoredProcedureVariable is null or @StoredProcedureVariable = '' or @StoredProcedureVariable ='none'
BEGIN
SET @StoredProcedureVariable = CONVERT(char(10), @QueryDateYesterday,126) -- e.g. '2016-01-06'
END
*https://social.msdn.microsoft.com/Forums/sqlserver/en-US/936bf32a-b4ad-40f3-868e-216f03fb8118/c-direct-call-to-slq-server-2014-ssis-dtsx-package-script-task-cant-pass-parameters?forum=sqlintegrationservices
**http://sqlknowledgebank.blogspot.co.uk/2013/04/ssis-ole-db-source-with-stored-procedure.html
- Edited by Stewa11 Thursday, January 12, 2017 12:21 PM added c# web page parameter passing
Ctrl+L in Portuguese Excel 2016 16.0.6366.2056 and above no longer opens the Find dialog box!
At least from the update to version 16.0.6366.2056, the shortcut Ctrl+L opens the Create Table dialog box instead of the Find and Replace dialog box with the Find tab selected.
In English it is Ctrl+F and in Portuguese it is Ctrl+L to open the Find dialog box, which after initial installation of Office 2016 worked correctly, but after the above update stopped working as expected in Portuguese, starting to open the Create Table dialog box!
- Edited by DavidCunha Thursday, January 12, 2017 12:01 PM
DAG alternate witness directory
Reply:
The Alternate Witness Server is used when the DAG is stretched across two or more AD sites. The Alternate Witness Server itself does not provide any redundancy for the Witness Server, and DAGs do not dynamically switch witness servers, nor do they automatically start using the Alternate Witness Server if a problem start with the primary Witness Server. So, it is not a requirement until you have multiple DAG sites.
Plus, the alternate file share witness not be used whenever Primary File Share witness goes down. You have to configure this with command Set-Databaseavailabilitygroup with parameters AlternateWitnessDirectory & AlternateWitnessServer.
- Edited by PK Sarangi Thursday, January 12, 2017 9:33 AM
------------------------------------
Reply:
Use the Set-DatabaseAvailabilityGroup cmdlet to configure properties of a database availability group (DAG).
Also get help from below earlier thread:
Exchange DAG Alternate Witness Server
DAG Alternate Witness Server
Thanks,
Cloud migration can be a tedious task without the right solution. Lepide Meteor suite has all you need to analyze/upgrade/migrate your current Exchange environment to Office 365 and also helps you to easily Import/Export & convert EDB, PST and OST into new or existing PST files.
------------------------------------
Win 10 size on Disk before and after update
Time to time.., I keep a watch a watch on size of Windows 10 Pro on my Disk.. Generally its about the size 30-37 GB. But after an Update it swells to nearly 50 GB and stays so for a while ( about 1 week). Then abruptly after this while, when next I start my desktop I see that it has dropped back to 30-- 34 GB. Some expert kindly help me in understanding what's happening and why it happens thus !!!!It has been happening thus right from the time I first installed Win 10 Pro on my desktop Last year in July-Aug !!
I create restore points regularly and wish to create these when the file size is small .
Thanks in advance
Reply:
Hi!
This is because a copy of your old installation is saved in a hidden folder. From this you can roll-back to the previous version if something fails.
If you would like to remove this before, you can do it by running the disk cleanup, select system files and then mark the box for prevoius versions.
Best regards
Andreas Molin
Andreas Molin | Site: www.guidestomicrosoft.com | Twitter: andreas_molin
------------------------------------
NEEDED: More Answerers
We need more answerers in this forum! Let me know if you've been part of this community pretty consistently for at least 6 months, have answered at least 100 questions (with at least 1,000 Recognition Points) and are interested in helping propose and mark answers. Sorry about the requirements, but it helps make sure we get help from people who are experienced and known in the community.
The basic idea is that you would propose an answer and then mark it 7 days later. When the OP chimes in, we might need to provide new answers and unpropose the old ones. The Answerers will need to agree to follow these guidelines: http://social.technet.microsoft.com/wiki/contents/articles/1059.forum-moderation-guide-managing-posts-and-threads-marking-answers.aspx#Guidance
I'm inviting the following community members to be given the role of Answerer:
- Smartysanthosh (Done)
- Vishe (Done)
- Santosh Chandel (Done)
- Ashidacchi (Done)
- Liang Wang [MSFT] (Done)
- Nazanin Calagar (Done)
- RodgeFu (Done)
.
Please reply here if you agree to the Moderation guidelines!
As an Answerer, we need your help proposing an answer and then marking it 7 days later!
Thanks!
Ed Price, Azure Development Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!
- Edited by Ed Price - MSFTMicrosoft employee Tuesday, January 3, 2017 10:08 PM
Reply:
Hi Ed,
thanks for the invitation, I'm happy to join.
Please Mark it as Answered if it answered your question OR mark it as Helpful if it help you to solve your problem.
------------------------------------
Reply:
Hi Ed,
thanks for the invitation, I'm happy to join.
Please Mark it as Answered if it answered your question OR mark it as Helpful if it help you to solve your problem.
Great. I think I identified the issue. Sometimes you post links that some folks find irritating. Because they aren't helpful enough. Like to blog posts or forum posts. So if you double/triple check that, then I think we won't get the complaints. You obviously know the material, you know how to answer a lot of questions, and you're an active and passionate team player. So I'd love your help. But I want people to like you too. =^)
That's vital for future opportunities as well, such as MVP. Before someone makes awards or opportunities like MVP, they have to get reviewed by peers. So it's vital that the other MVPs and MS employees see (and know you for) all your good posts (of which there are a ton) that give details and answer the questions.
Thanks, Vishe!
The most important part of being an Answerer is proposing answers and then marking them 7 days later. That's what motivates people to answer more and what builds up a strong community.
Right now, this community/forum is a little lacking, and it needs a bit of a spark. We have oodles of unanswered questions (and questions without replies). That means there's a demand/need, which is good.
Thanks again, Vishe!
Ed Price, Azure Development Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!
- Edited by Ed Price - MSFTMicrosoft employee Monday, December 19, 2016 5:42 PM
------------------------------------
Reply:
Thank you for your inviting me the community.
I'm pleased to join.
Best regards,
Ashidacchi (Hideki ASHIDA)
------------------------------------
Reply:
from Moscow with money
------------------------------------
Reply:
Thanks for invitation, I will be more than happy to join!!
Regards,
Santosh Singh
Santosh Singh
------------------------------------
Reply:
I have several (~20) suggestions for improving MSD
This is a community forum, not the right place for suggestions.
You can better post them at https://connect.microsoft.com/SQLServer
Olaf Helper
[ Blog] [ Xing] [ MVP]------------------------------------
Reply:
Hi Ed Price,
Thank you for your inviting me the community.
I'm pleased to join.
Best regards,
Ashidacchi (Hideki ASHIDA)
Done! Please propose answers and then mark them 7 days later!
Thanks!
Ed Price, Azure Development Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!
------------------------------------
Reply:
Thanks for invitation, I will be more than happy to join!!
Regards,
Santosh Singh
Santosh Singh
Done! Glad to have you join the moderation team!
Please propose answers and then mark them 7 days later!
Thanks, Santosh!
Ed Price, Azure Development Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)
Answer an interesting question? Create a wiki article about it!
------------------------------------
Reply:
hi ,
have you participated in the MDS survey that we did a month ago ? please provide your email id . I will ask my PM to connect with you . we love to get more feedback on MDS .
thanks,
santhosh
------------------------------------
Register-PSSessionConfiguration error
Hi everyone,
I didn't know where I could put an helping solution for someone would have this issue because I found it by myself. So maybe it could help.
Case:
There may be a case where you have a user account that doesn't need to have Administrator rights on a server, but the user still needs to run a command to pull some information. The problem is that I do not want to give the user complete access to my remote system.
Solution/Problem:
- Create a dedicated user who will be a local administrator of the target computer.
- Jump on the target computer and open powershell with priviledges.
- Type this command :
Register-PSSessionConfiguration -Name <nameofthesession> -RunAsCredential <domain\<dedicateduser> -Force
e.g. Register-PSSessionConfiguration -Name PowerShell.DHCP.Session -RunAsCredential 'CL_095\s-dhcp' -Force
Normally you should have :
WARNING: When RunAs is enabled in a Windows PowerShell session configuration, the Windows security model cannot enforce
a security boundary between different user sessions that are created by using this endpoint. Verify that the Windows
PowerShell runspace configuration is restricted to only the necessary set of cmdlets and capabilities.
WSManConfig: Microsoft.WSMan.Management\WSMan::localhost\Plugin
Type Keys Name
---- ---- ----
Container {Name=PowerShell.DHCP.Session} PowerShell.DHCP.Session
But if you have :
WARNING: When RunAs is enabled in a Windows PowerShell session configuration, the Windows security model cannot enforce
a security boundary between different user sessions that are created by using this endpoint. Verify that the Windows
PowerShell runspace configuration is restricted to only the necessary set of cmdlets and capabilities.
WSManConfig: Microsoft.WSMan.Management\WSMan::localhost\Plugin
Type Keys Name
---- ---- ----
Container {Name=PowerShell.DHCP.Session} PowerShell.DHCP.Session
Register-PSSessionConfiguration : The verification of the runAs user credentials failed with the error -2146892994
At line:263 char:5
+ Register-PSSessionConfiguration -filepath $arg[0] -pluginName $a ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo :NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId :Microsoft.PowerShell.Commands.WriteErrorException,Register-PSSessionConfiguration
You should probably have a 300 event id in your eventviewer, too.
Resolution:
In my case, the reason was I didn't want the user to have the possibility to make an interactive logon with the dedicated account. To do that, I ticked the checkbox "Smart Card for interactive logon" in the Active Directory. But when the Register-PSSession cmdlet try to register a configuration, it try to authenticate BUT I checked the smard card so it was normal it was impossible for the cmdlet to make this operation.
Before finding the solution I tried to make a "check password" with tools. You will probably have "invalid password". It is a misleading error. This is not the right error.
I hope I could help someone,
Kind Regards,
Arnaud
- Edited by arnaud.helin Wednesday, January 11, 2017 12:29 PM
- Changed type Hello_2018 Thursday, January 12, 2017 2:36 AM OP provides help info for us
Reply:
Hi Arnaud,
Thanks for your sharing and I suppose this case is very helpful for us!
Have a nice day!
Best regards,
Andy
- Edited by Hello_2018 Thursday, January 12, 2017 2:35 AM
------------------------------------
Monitoring new shared folders to detect new open file shares
Hi Everyone,
I am looking for a tool that can monitor thousands of windows servers that can send me alert for new file shares created.
Any information will be appreciated.
Thanks
Bin zhang
- Edited by Bin Zhang Monday, January 16, 2017 6:03 PM
Reply:
. : | : . : | : . tim
------------------------------------
Windows 10 system boot logon new process initialization inability
So it seems from my attempted searches on the Internet for postings or mentions of similar problems, that this is either a very obscure problem, or at the very least, one that people very rarely if ever feel inclined to post about. So I'll mention right off the bat for those that are looking for a solution, that I found a fix for my problem; scroll down to the bottom for the Fix highlighted in bold (Valentine's Day edit: Just came back again with the fix applied).
So basically, my issue is that, several weeks to one month after upgrading to Windows 10 from Windows 7 x64, when the Anniversary Update came, my computer started experiencing these weird "hangs" at system bootup, after it had loaded the desktop. The shutdown operation would likewise hang, seemingly indefinitely, and seemingly regardless of how many times you hard-resetted the system, Windows would always come to the same place, "hanging" still at the desktop. I eventually learned to and that Windows would sort itself out and everything would load and the system would restore to functioning order given enough time. Until I applied the fix in December, this has never failed me. (Upon the next system boot and post logon initialization, it would load fine, if you let it finish "sorting itself out" last boot and load).
Now, about the "hang" itself: It was exceedingly peculiar, in that I had never seen anything like it before, in its behavioural patterns about how it "persisted" states seemingly from one session to the next, and, in its behaviour when I tried diagnosing the issue many months after it initially came. My exact technical description of the issue was that it would logon to the desktop fine, and the default Windows Sticky Notes app would load, but not much else (it varied a little bit). This state would persist for many minutes; you could not start most programs if they were not already started, including the system "Settings" shell, Task Manager, and, hilariously enough sometimes, Ctrl+Alt+Del, where it would give you a "Security Accounts Manager (or something?) session initialization failed (or something like that)" (and Task Manager would get a "This operation returned because the timeout period expired (message would be after a while of trying to open Task Manager)". The few programs that you could start were, exceptionally, Microsoft Word 2010, and Notepad++ sometimes (...?). Eventually everything would clear up and normal operation of the entire system would resume, with absolutely no other errors as far as I can tell cropping up at all. Until, sometimes of course, the next boot and logon initialization. Later on, the issue developed into being staggered into multiple phases – loading a spurt of startup programs and then pausing again. I thought at first that it was Windows Defender; that it was blocking or scanning files or operations pre-emptively, and borking something in the system up somehow, somehow someway being triggered to operate in this fashion. But it wasn't. I started playing around with Task Manager's startup tab and msconfig (bricking myself with the diagnostic startup along the way; someone should really look into fixing that feature), and I eventually got to the point of dually loading only runtime-critical services and no startup applications and the system initializing fine, and also, enabling all services and programs except for Windows Update, and it loading fine. And, lo and behold, and I couldn't believe my eyes at first (that it was Windows Update again!), that if I re-enabled Windows Update, the system would exhibit the issue. If I redisabled, the system would initialize fine. Re-enable, problem came again. I've since been running for a week or two now I think with Windows Update disabled, and it's been nothing short of fantastic. No more issues at all whatsoever. Of course, aside from it being an ostensible sysadmin workaround to forced (*cough* Microsoft *cough*) updates, it's still not ideal.
Some more background about my setup: I've modded Windows slightly, have never run an AV on this computer except for starting Kaspersky once every couple months to scan an unknown file, am almost 99.9% certain I have never gotten infected, and accidentally deleted a couple of registry keys that may have actually been used for something over half a year ago. I also have MSI Afterburner, cFosSpeed, and f.lux installed. The mods to my Windows installation involve some registry hacks, Windows Services configuration, installing 7+ Taskbar Tweaker (very lightly used), and installing Classic Shell (also pretty lightly used).
So, I suppose that concludes my post. Someone at Microsoft please fix/get back to me on this, so I at least know it's acknowledged as an issue?
Fix: I disabled Windows Update using msconfig. Tested by diagnosing with msconfig to narrow down the problem to this. (Valentine's Day edit: The issue just came back again even with Windows Update disabled :( )
- Edited by Arcyuryx Tuesday, February 14, 2017 5:52 PM issue came back again; fix does not seem to work
Cannot set Power Button action to "ask me what to do"
- Changed type Ronnie VernonMVP Tuesday, April 13, 2010 9:06 AM Discussion
Reply:
Right click on the power button and select properties. You can select restart from the pulldown menu.
If you select the arrow next to the power button, it give a list of what you want to do. To me, this is the same as it asking me what I want.
- Edited by Lead3 Saturday, May 9, 2009 3:34 PM Added info.
------------------------------------
Reply:
That's all I can choose for this one:
http://img27.imageshack.us/img27/6494/000unf.png
On some machines it's easy to accidentally push it so ability to cancel the shutdown would be really great.
- Edited by KrzaQ Saturday, May 9, 2009 3:38 PM
------------------------------------
Reply:
It's all about Windows.
------------------------------------
Reply:
You can set that from the biosCan I set it in the BIOS to make OS ask me what to do after pushing the physical Power Button? I find it extremely unlikely.
It's all about Windows.
------------------------------------
Reply:
you can download a desktop gadget that has your "ask me what to do thing".
It's all about Windows.
------------------------------------
Reply:
If your computer motherboard bios support the option then when you press on the button your computer will restart.I don't really care about the restart thing, I just noted that it was also absent.
you can download a desktop gadget that has your "ask me what to do thing".
It's all about Windows.
What really bothers me is that I have to either remove any functionality from Power Button or, when I accidentally push it, I won't be able to cancel shutdown.
------------------------------------
Reply:
Stephen
------------------------------------
Reply:
------------------------------------
Reply:
On each of the machines on which I have run Windows 7 or Vista, you can set the power button to do nothing, sleep, or shut down. It is, however, a situation where you select your setting and that is what you have unless you change it later. Windows XP's intervening dialog box with the washout background has been gone since the arrival of Vista. I wish I could be of more assistance....I would have understood if it were true, but when you press alt+f4 while on the Desktop you see said dialog box (even if it looks a bit different). I'm pretty sure that it is possible to make Windows show it after Power Button (physical one) is pressed. I just don't know how.
Stephen
------------------------------------
Reply:
Other forums have discussed this subject both for the beta and for Vista and the end result is always the same. Some XP user say it is essential, some Vista and Windows 7 users say that they hate the XP style, and others say it doesn't matter unless you find someone to program an XP emulator. Personally, I have always hated the XP dialog box and was glad to see it go. I don't mind someone saying that I said something untrue when that is the case. In this case I answered your question about the power button and if you don't like it that doesn't make it untrue.
Stephen
------------------------------------
Reply:
You asked about the power button and I gave you an answer - you did not ask about Alt+F4. A key stroke combination is hardly the same thing as reprogramming the functions of a hardwired button and (unless someone can say something to the contrary specifically about that button) Microsoft has chosen to give the button three functions. Those are: sleep, nothing, and shutdown - I actually I forgot hibernate which is probably also an option but I disable it immediately anyway.You said "Windows XP's intervening dialog box with the washout background has been gone since the arrival of Vista ". Windows 7 (and presumably Vista too) does have such dialog box, hence your statement is untrue.
Other forums have discussed this subject both for the beta and for Vista and the end result is always the same. Some XP user say it is essential, some Vista and Windows 7 users say that they hate the XP style, and others say it doesn't matter unless you find someone to program an XP emulator. Personally, I have always hated the XP dialog box and was glad to see it go. I don't mind someone saying that I said something untrue when that is the case. In this case I answered your question about the power button and if you don't like it that doesn't make it untrue.
Stephen
------------------------------------
Reply:
Hitting Alt+F4 is not the same as pressing a hardwired button and that was the root of your question. One is a keystroke combination that has been carried over from version to version and the other involves setting (or altering) the functionality of a hardwired button. You might also note that when you hit Alt+F4, you also do not get the XP screen washout - just a dialog box. FWIW, hitting Alt+F4 is barely even functional on my copy of the x64 RC. If I hit it on the external keyboard for my laptop it does nothing - it only responds if I key it in on the laptop keyboard.
I'll opt out at this point since I relayed the information and you apparently don't like it. I am certain you can find someone to write a little hack to have the button do what you want if that is what you choose. Unless someone from Microsoft says otherwise though (not likely), it not just a matter of turning on a hidden function, any more than it is in Vista. How you proceed, however, is up to you. Good luck....
Stephen
- Edited by swyost Tuesday, May 12, 2009 1:07 AM
------------------------------------
Reply:
------------------------------------
Reply:
That is my problem. I have recently moved from Windows XP, and it had this functionality, but here I only see three options in Power Options (I don't understand why it's impossible to set it to Restart too), and none of them is "ask me what to do". Is there a way to set it to ask me what to do?Dude, you're not alone. I wonder why there isn't an option to "ask me what to do". I've read all the responses and it seems like other people either have no clue what you're talking about or they act like you're asking something ridiculously preposterous.
Can someone please enlighten me as to if it is possible to do at all, if not, why can it not be done?
Just to recap, I'm asking if I press the physical power button on my computer, can windows ask me what I want to do next (Like in XP where the dialogue comes up and gives three options; Shutdown, Restart, Log Off) as well as when I push the "Shutdown" button in the start menu. I don't think it's unreasonable that someone asks this question!
------------------------------------
Reply:
------------------------------------
Reply:
"Fear disturbs your concentration"
------------------------------------
Reply:
------------------------------------
Reply:
Chiming in my hopes for an Ask Me dialog to return. My laptop only has a power button, no sleep button. Really pointless to take it out IMO
Go to power options, select "Choose what the power buttons do," then change the option for "When I press the power button." If you set it to sleep, then pressing once puts the machine to sleep and pressing and holding shuts it off. FWIW, yes it really is your opinion - personally I think it would be really pointless to put something back that they actually took out with Vista. Based upon past experience, that annoying XP dialog box wastes more energy than pretty much anything else with the typical XP comuter. I have spent years turning peoples's machines off after they clicked on shut down and left (leaving it hanging because they didn't bother to wait for the dialog box). It is hardly worth debating anymore though since it obviously is not making a return appearance. The RTM version has been out for quite some time and (thankfully) they made no changes to the Windows 7/Vista approach to shutting down a system....
Stephen
------------------------------------
Reply:
------------------------------------
Reply:
Also, you said that it's a user issue if the people don't wait for the dialog and leave the PC earlier. Well, it's also a user issue if you accidentially hit the power button.
And finally, it's not a Windows issue, it's your personal fault if you buy such a poor designed computer or such a cheap computer case which allows you to hit the power button easily. My computers don't have such a problem.
Adding the option to show a dialog first which then needs a confirmation, is senseless, as already said, because then there's no need to use the power button at all to shut down the PC.
------------------------------------
Reply:
A confirmation is pretty senseless. You have to hit the power button and then, with the mouse or keyboard, you have to confirmate this. Takes two steps. You could also just open the start menu and shut it down there, also takes two steps, so what's the advantage of a power button confirmation?
Also, you said that it's a user issue if the people don't wait for the dialog and leave the PC earlier. Well, it's also a user issue if you accidentially hit the power button.
And finally, it's not a Windows issue, it's your personal fault if you buy such a poor designed computer or such a cheap computer case which allows you to hit the power button easily. My computers don't have such a problem.
Adding the option to show a dialog first which then needs a confirmation, is senseless, as already said, because then there's no need to use the power button at all to shut down the PC.
Okay, here's a completely different reason why Microsoft should re-enable this valuable feature. In XP, I can press my keyboard's Sleep button, then U if I want to shut down or R if I want to restart. It's much faster than using the mouse.
Microsoft, if you're listening, please bring this feature back!
------------------------------------
Reply:
How can I make a shortcut to the power option box that comes up when I pres Alt + F4, the only problem is it closes other programs before it comes up.
------------------------------------
Reply:
I have no idea. As far as I know, it's still impossible.How can I make a shortcut to the power option box that comes up when I pres Alt + F4, the only problem is it closes other programs before it comes up.
------------------------------------
Reply:
------------------------------------
Reply:
------------------------------------
Reply:
Hi Fesak, So Did you get this worked out yet? I am in the same situation as you and looking to add that function to the power button as well. I noticed that since the option is there if you hit ALT+F4, then we should be able to add this feature ourselves. I normally run an XP / UBUNTU setup and just recently went ahead and added 7. At the moment I am thinking that I can make the file to remap the key in VisualStudio then call that from the registry to readd this missing feature. Have you tried anything like this yet? ThanksUnfortunately not. I just put XP back on my netbook and gave up.
------------------------------------
Reply:
Going professional with your netbook I see. Works well without a video card. Has all kinds of goodies too.Unfortunately not. I just put XP back on my netbook and gave up.
Anywho, I'll have to write my own power interface for WIN 7. If you want something done right do it yourself.
"Unto a stranger thou mayest lend upon usury; but unto thy brother thou shalt not lend upon usury"
------------------------------------
Reply:
------------------------------------
Reply:
**one of these days I would love to checkout the Ubuntu netbook remix running on 1 of those... I was amazed on an old dell Inspiron 8200 to load up Ubuntu 9.10 and with an old 32m ATI card enable the full Compiz desktop and the Sphere Display, Simply amazing and the old machine is still very snappy. My daughter (2 1/2) still uses it learning ;)
Oh, If the SSD is too much to replace I saw this handy little gadget the other day http://www.dealextreme.com/details.dx/sku.19384
------------------------------------
Reply:
Well I will see what can be done to add that option. Everything so far is running super smooth and I am using a m1730 triple boot XP / UBUNTU / 7 Using the grub boot manager and everything worked great. I even mapped all my docs from each OS to my personal drive (m1730 Laptop holds 2 drives so (2)500GB 7200RPM Seagates) so that no matter what OS you boot into my docs are the same, desktop the same, even firefox has the same tabs and browsing no matter which OS I boot into. Only feature I am missing at the moment is this is the only OS that wont ask me what to do with the power button. So I will start looking into mapping the key to that ALT+F4 pop up, That looks perfect to me. Well I will keep you guys posted with what I find out ;)I'm saving up for this little puppy. Ohh ya.... If you get it to work then let me know.
**one of these days I would love to checkout the Ubuntu netbook remix running on 1 of those... I was amazed on an old dell Inspiron 8200 to load up Ubuntu 9.10 and with an old 32m ATI card enable the full Compiz desktop and the Sphere Display, Simply amazing and the old machine is still very snappy. My daughter (2 1/2) still uses it learning ;)
Oh, If the SSD is too much to replace I saw this handy little gadget the other day http://www.dealextreme.com/details.dx/sku.19384
------------------------------------
Reply:
Of course it goes without saying "%systemroot%\system32\shutdown /I"
"Unto a stranger thou mayest lend upon usury; but unto thy brother thou shalt not lend upon usury"
------------------------------------
Reply:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\4f971e89-eebd-4455-a8de-9e59040e7347
And the actual event triggered on the power button being pressed happens here:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\4f971e89-eebd-4455-a8de-9e59040e7347\7648efa3-dd9c-4e3e-b566-50f929386280
(the files with all letters and numbers should just be real filename hashes)
Now we can see most all of the power options are being referenced @ powrprof.dll and we do know the system has the function to launch that pop up. Now looking under the options we have in the registry we can see each reference to the powrprofdll and see each reference to functions as -50 through -58. I tried to play a little with this and as long as my next power option was a match then it worked and added the new power option to the menu, however, If the new option did not exist then it was defaulting to "Do Nothing". So if the Ask Me function is sitting there it might be possible to make it work there again but to make it work we need an exact match. Ive done this in programming often in if else statements. Now another option here is see if another command exists command line to launch that popup and if so then we can modify:
Of course it goes without saying "%systemroot%\system32\shutdown /I"
To our new command. And another possibility we might have is to use rundll32.exe and launch the window ourselves with those options, long shot, again. And of course the last possibility that im sure will work would be to hard map the power button to the actual ALT+F4 function binary data but that is going to require changing registry data type and Ill resort to that last. I'll keep you guys posted on what I figure out. =D
------------------------------------
Reply:
powrprof.dll
@%SystemRoot%\system32\powrprof.dll,-X,
change X to be any number from 0 to ????? Programming arrays can go on forever.....
****** x below means no output returned to the Advanced settings menu, nothing returned will result in this line being returned
in output "@%SystemRoot%\system32\powrprof.dll,-X," where X = the number attempted to be viewed in the array()
[10] x
[20] x
[30] x
[40] x
[50] Do Nothing
[51] Do Nothing
[52] Sleep
[53] Sleep
[54] Hibernate
[55] Hibernate
[56] Shut Down
[57] Shut Down
[58] Do Nothing
[59] Do Nothing
[60] x
[70] x
[80] seconds
[81] %
[82] milliseconds
[83] microseconds
[84] x
[85] x
[86] x
[87] x
[88] x
[89] x
[90] x
[100] The default windows power plan types include Balanced, Power Saver, and High performance..
[101] Power Plan Type
[102] Require a password to wake the computer from sleep
[103] Require a password on wakeup
[104] Specify how long your compouter is inactive before going to sleep
[105] Sleep after
[106] Specify how long your computer is inactive before hibernating
[107] Hibernate after
[108] Allow windows to save your work and enter a low power state.....
[109] Allow Hybrid Sleep
[110] Enables system to show a progress bar during transitions to sleep
[111] Enable Sleep Progress Bar
Now This could go on for quite a while. In theory, If they left the option there then we could make the Registry changes and point to the Ask Me function with our new context menu item ;)
------------------------------------
Reply:
Seesons greetings!
------------------------------------
Reply:
(new ActiveXObject("Shell.Application")).ShutdownWindows();
and save that as whatever.js (I named it ShutdownDialogue.js and placed it in system32 for now) when you double click it the shutdown dialogue will open. Now I just need to tie it in either by hopefully adding a power option or last resort SetWindowsHookEx() should work fine. Ill keep everyone posted as time permits for me to finish this. If someone ties it in somehow and this works let me know, thanks.
------------------------------------
Reply:
Seesons greetings!
------------------------------------
Reply:
With all due respect, you are obviously blinding yourself to the reality that this is a dialog that *should* have not been removed, because it also removes a very valuable feature -- the "Ask me what to do" setting that was available in XP. Just becuase it was removed with Vista, doesn't mean it was a good thing. Removing it permanently because -- in your experinece -- too many people left the dialog up without actually shutting down, is just not acceptable. If anything, it could have been removed as default behavior, with an option somewhere to bring it back for the benefit of those that have been enjoying the feature in XP -- such as myself -- very frustrated for MS to remove features permanently. And what you mention about setting the behavior to "Sleep" so that pressing it once sleeps and pressing/holding turns it off give you the same functionality is not acceptable, since pressing/holding does a cold shutdown (i.e., Windows won't shut down properly). Nor is it correct, because with "Ask me what to do" I can choose Hibernate, Standby, Shutdown, or Cancel (oops, didn't mean to press it).
Citing the change in Vista isn't very compelling either. Many folks were very annoyed with the shutdown options in Vista: http://www.joelonsoftware.com/items/2006/11/21.html
Anyway, if you think it's better to remove something in a future version of Windows, then at least make that change the *default*, and let those who want to continue using it anyway able to turn it back one in some settings dialog.
I will agree with you on this though: there's no point in debating it further since it appears that MS just decided to yank it, and too bad for anyone that doesn't like it. And that's not just me, but lots of other people. I just needed to vent...
------------------------------------
Reply:
...snip.... I have spent years turning peoples's machines off after they clicked on shut down and left (leaving it hanging because they didn't bother to wait for the dialog box). ...snip...
Stephen
What a shame, you should spend days be setting their power management to more suitable option. Or even less doing this globally in domain politics.
Your argument is not a reason and there also no ultimate truth either. I assume your users have desktop PCs. I'm using notebook and it's extremly annoying when you accidentally (or somebody on purpose) press power button and system shuts down.
------------------------------------
Reply:
It would be such a simple thing to modify in Ubuntu so why is it so hard here? The hardware button still send the signal but the OS just ignores it. Surely there is an easy way to tie that in with the Alt + F4 combination (as ugly and unhelpful as it is). I just don't know how to do it myself.
Another note on the uselessness of the Alt + F4 combination is that you still have to use your mouse to access the drop-down menu. I would really prefer to use keyboard shortcuts whenever possible, especially because I am normally using my laptop with a touchpad. Why move your hands if you don't have to?
Oh dear, this is why I use a Mac for my design use. It stops me from doing any of the time-consuming fun stuff that makes your computer usage more rewarding.
------------------------------------
Reply:
I can't believe that there are so many people willing to get worked up against this thing. The comments Stephen has been making really seem more like a Mac user would voice than the Windows users of old.
It would be such a simple thing to modify in Ubuntu so why is it so hard here? The hardware button still send the signal but the OS just ignores it. Surely there is an easy way to tie that in with the Alt + F4 combination (as ugly and unhelpful as it is). I just don't know how to do it myself.
Another note on the uselessness of the Alt + F4 combination is that you still have to use your mouse to access the drop-down menu. I would really prefer to use keyboard shortcuts whenever possible, especially because I am normally using my laptop with a touchpad. Why move your hands if you don't have to?
Oh dear, this is why I use a Mac for my design use. It stops me from doing any of the time-consuming fun stuff that makes your computer usage more rewarding.
For some reason I forgot to turn off notifications on this tedious old thread (won't make that mistake this time). I have been using Windows since 3.0 and DOS prior - have done a fair amount of IT over the years as well. I like many of the changes from Windows version to Windows version and do not like others. Most notably I loathed XP from its release and my opinion has never changed, particularly since I have spent far too much time rescuing people from its bugs and their own screw-ups.
I responded to this thread three times - back in May and September and in each case just gave people suggestions as work arounds, examples of the Windows 7 functions, and my (clearly identified) opinions. I don't see why a very small number of people continue to drag out this completely dead issue, as if Windows 7 was still a beta, or as if the essense of the whining wasn't actually a change made in Vista years earlier. If you don't like how it works, switch to Ubuntu or stay with XP. Otherwise, work with someone to write a little utility/hack to get your vitally important function back. Beyond that, count the number of people who actually responded to this thread - does this look like there is some groundswell of public opinion to bring back XP in Windows 7, or does it look like a very small number of people who think their own personal wants outweigh Microsoft's goal of designing an OS that will be run on millions of computers? You can't design an OS for an 80-90% market share and make everyone happy. For this one a small number of people are, indeed, unhappy about something most seem to think is not very significant. That is just the nature of life at times - get over it and move on already....
Stephen
------------------------------------
Reply:
------------------------------------
Reply:
I think the number of people who want this feature back is substantial enough to add this option back, and I'm sure it could be done very easily in an update. I remember the update for XP that removed the fourth Hibernate Option from the XP Shutdown Menu, and that had me a bit confused, Why make it more confusing to hit Shift+Stand By in order to hibernate? (It could be added again with regedit, until SP3 I believe) For users that just want the power button to turn the computer off, they could set it to do so in XP, they had the option before, why not keep the old default as an option?
If we want something to work, how else would those who cannot code as well as Brakeangrily get it done than to ask about it in a forum? If Microsoft didn't cater to the minority of users who want something included in Windows, Windows probably would not be able to have the 80-90% market share that it does, there are hundreds of things that are included in Windows that you might feel is necessary, that most of the userbase never even touches. If they were to remove everything that less than 1% of users actually care about, I bet all together more than 80% of Windows users would feel they got gypped on some option or other. I think removing the option altogether was a poor choice of action on the Microsoft Development Team's part. Even if 1 in 200 people want to click their power button on their laptop and get options, it should be available, especially since they have already had the option before. Then every tech help forum wouldn't have all the posts trying to find this option, and since they do have so many posts, you would think they would have noticed by now, but I suppose it is the kind of thing you can only find out by searching for it, and MS developers probably don't search for this after they made the decision to remove it.
There should be a poll about adding the "Restart" and "Ask Me What To Do" options back to the power button and the "Turn the Screen Off" to the close lid options, I'm sure the numbers would surprise you. Sure: more than half probably won't care for it, but I don't think as small of a minority want it back as you implied. I understand that to some people it might be a nuisance for other reasons, such as workstations in an office with lazy/computer-illiterate employees, where client sessions are not fully logged out. In this case the office administrator had the option to have all the computers set to shutdown without the dialog, but now those who would like the dialog don't have that option.
I hope a Microsoft development tech realizes this soon. It'll make a lot of people with laptops happier with Windows 7.
-- Van
------------------------------------
Reply:
Why get so worked up against this?
This isn't a forum thread working to undermine the workable Os that Microsoft has produced, nor are we asking them to change it to our liking. I'm personally more interested in finding someone more knowledgable about coding than myself who has produced a small script fixing our 'problem'.
I just know that under Linux this would be an easy fix so it seems strange that it is so difficult under Windows.
------------------------------------
Reply:
Okay, I am totally baffled by this entire thread. I understand EXACTLY what the initial thread requestor was asking and some of the people answering have no freaking clue whatsoever what was being asked and again I am going to reiterate the need in my own way.
In both Windows XP and Windows Vista, a user has the ability to select what the power button does in the event it is pressed. In Windows XP, the following options are available:
1. Shutdown
2. Sleep
3. Hibernate
4. Ask me what the ____ I want to do in case I don't remember what I set it to or someone else may have accidentally bumped me and my finger came flying across the freaking keyboard and hit the stupid little power button on accident and I don't want my entire system to go shutting down when I have 100 important screens up.
In Windows Vista, the following options are available (minus a couple just for getting my point across):
1. Shutdown
2. Sleep
3. Hibernate
Now, again, to reiterate what the original poster was asking, all we want. I repeat, all we want is for option #4 to come back. We are not arguing with Windows Vista users that all the existing options should be removed. We are only asking for an additional option that some very small population of people were using because it made sense. Adding this options to Windows Vista will not make any existing Vista user's life any more difficult than it is today. It is simply an additional feature that will address the needs of different people.
------------------------------------
Reply:
------------------------------------
Reply:
THANK YOU jbergado, you have TOTALLY hit the nail on the head, 10/10 my good fellow.
I run Windows 7 on a Macbook Pro, there IS no sleep button, only power, AND I have on a few occasions accidentally pressed the button, so I'm not alone there.
ALSO, OSX 10.5 offers the "Ask me what the ____ ... " dialog so why can't Windows 7 still have it as an *additional* option as XP had!
Removing something for the sake of simplicity doesn't make it better as some of you have stipulated.
------------------------------------
Reply:
>>> I don't see why a very small number of people continue to drag out this completely dead issue <<<
The issue isn't dead just because you wish it dead. I've seen you justify this decision a million ways but still haven't heard one good explanation as to why the option was removed. It should have been left as an *option* so that those (few, if you insist) who relied on it can enable it and continue to enjoy while those (many, if you insist) who hate it can leave it off and live without it.
------------------------------------
Reply:
>>> public opinion to bring back XP in Windows 7 <<<
That is an absurd statement. We're talking about a single feature here that people miss, which was a good feature removed for (no apparent) reason. It's unfair for you to bluntly dismiss these (Microsoft) customers as stuck in the past, or unable to advance to new OSs, when the truth (like it or not is) is that MS blundered on this one feature (and they did!)
------------------------------------
Reply:
>>> make everyone happy <<<
If you would have left the feature in as an option for those who want to continue using it to enable, leaving it off by default to satisfy your (questionable) usability research, then you *could* have made everyone happy!
------------------------------------
Reply:
>>> You asked about the power button and I gave you an answer - you did not ask about Alt+F4. A key stroke combination is hardly the same thing as reprogramming the functions of a hardwired button <<<
That's a rather obnoxious statement. We're all talking here about the dialog that used to appear in XP when pressing the (hardwired) Power button if you chose the option to "ask me what to do".
In an earlier post, you actually stated that this dialog box was gone *altogether* from Windows 7 ("Windows XP's intervening dialog box with the washout background has been gone since the arrival of Vista").
Apparently not! You can hit F4 on the desktop to see it. But it's just been removed (permanently!) as a possible action of choice from the "When I press the Power button..." options (and without even an option to bring that choice back, removed permanently for no good reason). Tell me something, what's the reason for showing the dialog when hitting F4 on the desktop!?! It makes sense to show it then but not (upon choosing the option) when hitting the power button?!? Come on!
I've been a software developer for 30+ years (Microsoft technologies a specialty). "Reprogramming" the function of the hardwired Power button wouldn't be necessary if MS didn't "reprogram" it the first time when they removed this functionality. And it certainly can't be "difficult".
------------------------------------
Reply:
Stephen, just because you don't use / like a feature does not make it pointless. With my home theater PC my remote has a power button. I would love to find a fix so I can turn the computer off, restart or standby without getting the keyboard out.
------------------------------------
Reply:
Stephen, just because you don't use / like a feature does not make it pointless. With my home theater PC my remote has a power button. I would love to find a fix so I can turn the computer off, restart or standby without getting the keyboard out.
Are you aware that this thread is over a year old and that my last response was nearly six months ago. It is also made up of the same rather small number of responders. That should tell you how much interest there is in the subject - it certainly is consistent with my lack of interest. Again, people need to get over it and move on. If this is so important, work with some open source people to put together a hack that does what you want. Windows 7 itself is about to have the SP 1 beta released and I haven't heard anyone say there was the least bit of interest in addressing it in the beta. Some other things that people wanted to see are on the list but I have seen nothing about this one. It also, again, was not even introduced with Windows 7 - it showed up with Vista. I guess I will uncheck
alert me" again and hopefully it will stick. Getting more about this tedious thread in my e-mail is annoying as spam. Please respond to each other rather than me - I certainly have no interest in furthering this discussion....
Stephen
------------------------------------
Reply:
Anyway, nothing I can add to the actual thread beyond "Yeah, I miss this option as well." I can't believe I waited the better part of a decade for an upgrade to XP and still haven't actually gotten one. Bleh.
------------------------------------
Reply:
------------------------------------
Reply:
>>> I certainly have no interest in furthering this discussion <<<
That doesn't change the fact that MS made a mistake, and (for whatever reason) you have a hard time admitting it!
------------------------------------
Reply:
Okay, I am totally baffled by this entire thread. I understand EXACTLY what the initial thread requestor was asking and some of the people answering have no freaking clue whatsoever what was being asked and again I am going to reiterate the need in my own way.
In both Windows XP and Windows Vista, a user has the ability to select what the power button does in the event it is pressed. In Windows XP, the following options are available:
1. Shutdown
2. Sleep
3. Hibernate
4. Ask me what the ____ I want to do in case I don't remember what I set it to or someone else may have accidentally bumped me and my finger came flying across the freaking keyboard and hit the stupid little power button on accident and I don't want my entire system to go shutting down when I have 100 important screens up.
In Windows Vista, the following options are available (minus a couple just for getting my point across):
1. Shutdown
2. Sleep
3. Hibernate
Now, again, to reiterate what the original poster was asking, all we want. I repeat, all we want is for option #4 to come back. We are not arguing with Windows Vista users that all the existing options should be removed. We are only asking for an additional option that some very small population of people were using because it made sense. Adding this options to Windows Vista will not make any existing Vista user's life any more difficult than it is today. It is simply an additional feature that will address the needs of different people.
Quoted for truth and entertainment.
The people who have responded to this thread in earnest aren't looking for a HARDER way to shutdown their Windows 7 machines. The desired workflow is not, "Click Start, click Shutdown, click annoying popup window". If I want to PURPOSEFULLY shutdown my Windows 7 machine, yes, I will click Start --> Shutdown and have no issue with the machine shutting down immediately.
But if the physical power button on my case is pressed INADVERTENTLY (while hunting for a DVD eject button, act of nature, children, pets, a strong breeze, etc.) or PURPOSEFULLY (for the Mac users with only a power button, or the HTPC users whose remote control only has a power button, or the note/netbook users who have an easy-to-press power button) this is a very desirable, if not borderline necessary feature.
And further still, re-including this feature in Windows 7 would not negatively affect ANY existing users, as long as the default value stays the same. Like many others have stated in this thread (and countless others have thought as they've read this and other threads) we simply want the OPTION back, not to have it forced down every user's throat as the ONLY option.
Here's hoping Microsoft will consider this (seemingly simple) request. On that note - what's the best way of getting Microsoft's attention, since these forums seem a bit attention-dry? Windows Team Blog? Microsoft Connect?
-BaTz
------------------------------------
Reply:
BaTz,
All too true. MS really goofed on this one, and this Stephen dude has obvious issues with admitting that. It seems like he wants it forced down every user's throat (and is wishing this away) just the same as Microsoft.
~ Lenni
------------------------------------
Reply:
Chiming in here as well, as a power user who has been using Microsoft OSs and many other OSs for the better part of three decades... having "ask me what to do" REMOVED from the list of physical power button options was just inane. Change the default, sure, but allow it to be set SOMEHOW.
When I need to hibernate/shutdown/restart my old XP pro laptop, I hit the power button, it pops up the alt-F4 window, and I either hit ENTER (to select what was selected last time), or arrow up/down to select my choice and then ENTER, and it does what I want it to. Simple, easy. In addition, I have a toddler who loves pressing anything that looks like a button. When he presses the button on my XP pro system, no problem, he's not hitting ENTER, too, so I can abort the shutdown/hibernate/whatever.
Like a lot of people, I skipped over Vista. I just got a new laptop with W7 installed and noticed the feature was missing, so I searched online to try and find a solution. I found this thread among others, and apparently I am going to have to turn off the hardware power button until my son gets older, losing the functionality of being able to quickly shut down my laptop without navigating menus with a mouse or the trackpad.
And for the record, I also agree that Stephen appears to be showing how much he can't understand that other people MIGHT need to use interfaces differently than his holiness does. I hope he's not in IT or software development; he should be working for the DMV or some other government agency with his attitude. The OP was very clear and it took Stephen about four posts to even understand the question, and then he argued that the question was stupid. There's only one thing stupid in this thread, Stephen. Thank goodness you're not following it anymore.
------------------------------------
Reply:
------------------------------------
Reply:
And further still, re-including this feature in Windows 7 would not negatively affect ANY existing users, as long as the default value stays the same. Like many others have stated in this thread (and countless others have thought as they've read this and other threads) we simply want the OPTION back, not to have it forced down every user's throat as the ONLY option.
Yes, please please please, Microsoft, return this feature. I too have had to just disable my power button to avoid shutting my machine down accidently.
I think this makes more sense.
I too had some issues before when I got a keyboard with a power key next to the enter button. That sucks coz my fingers are huge and I often inadvertently click on that key. executing a shutdown process.
http://www.cesabarre.com/
------------------------------------
Reply:
I'm mostly replying because I miss this feature as well (running on an MBP) and to annoy that Stephen ____. Good job knowing anything at all about human computer interaction and good luck with attempting to force your ideas down the throats of everyone who disagrees with your asinine statement. God help the world if you ever come into a position of power (though you would fit right in with USA politicians, so there's that).
Get the ____ out and learn something.
------------------------------------
Reply:
I'm happy to read that I'm not the only one who is bothered with this shutdown option missing. I've missed it since the early days I installed Windows 7, but always thought I would one day find the advanced setting box where I could choose my old trustworthy setting to 'ask me what to do'.
It's sad that Stepphen says there are not enough people out there complaining to make this a serious issue. It has given me a reason to reply.
If anyone finds a neat solution to get the confirmation dialog back when pressing the shutdown button, I'd love to know.
------------------------------------
Reply:
Hey Stevo, guess what? I want the 'ask me what to do' feature back too! Haha the jokes on you, lol.
You loathe XP? You spent years turning peoples's machines off? That's hilarious.
There actually is a place to "vote" for this option to be put back. Here's the link: http://www.windows7taskforce.com/view/3463
------------------------------------
Reply:
A workaround might be enough to satisfy some people but, I appreciate, not all.
If accidental pressing of the power button is the concern, you can use the power scheme[s] to set its action to "Do nothing" or use the Windows Start, properties to set it to "Lock". This is safe and can be overriden in emergency by pressing for ten seconds or so.
The routine shutdown procedure would then be by pressing F4 or clicking on the Windows Start then the little arrow next to "Shutdown".
- Edited by TryTryTryAgain Monday, January 30, 2012 10:48 PM
------------------------------------
Reply:
Hi KrzaQ, I understand your frustration on this issue. I'm still researching some ways to enable it so it looks like when you press Alt-F4 on the desktop. For the meantime, what you can do is to enable the Display Shutdown Event Tracker in your Local Group Policy Editor in Windows 7. I know its not the same but it will ask for confirmation before you shutdown.
To enable it:
- Run > gpedit.msc
- Expand Computer Configuration > Administrative Templates > System.
- Double-click Display Shutdown Event Tracker.
- Select Enable.
------------------------------------
Reply:
Hi Diego,
Unfortunately this does not work when the power button is pressed - it still shuts down automatically. What a shambles this issue is. 'if it ain't broke, don't fix it'.
------------------------------------
Reply:
A confirmation is pretty senseless. You have to hit the power button and then, with the mouse or keyboard, you have to confirmate this. Takes two steps. You could also just open the start menu and shut it down there, also takes two steps, so what's the advantage of a power button confirmation?Yea, I know it's a personal problem that I bought such a poorly designed system that they included a problematic version of windows (7) instead of something decent.. (XP, Linux, OSX) Is that what u were getting at??? P.S. STFU swyost/Stephen, you arn't helping anyone by having a little girl anxiety fit about being wrong... Anyone got some real advise on how to fix this? maybe a registry entry to change or something??? How about a dll or sys file swap from a previous version of windows?
Also, you said that it's a user issue if the people don't wait for the dialog and leave the PC earlier. Well, it's also a user issue if you accidentially hit the power button.
And finally, it's not a Windows issue, it's your personal fault if you buy such a poor designed computer or such a cheap computer case which allows you to hit the power button easily. My computers don't have such a problem.
Adding the option to show a dialog first which then needs a confirmation, is senseless, as already said, because then there's no need to use the power button at all to shut down the PC.
------------------------------------
Reply:
Yes bros, you are not alone! I'm looking for this same for a long time ago since Windows Vista.
I find a command can call the box - "taskkill /im explorer.exe", not sure is it useful for if someone can remap the power button with this command, it will be great.
But I do search with Wiki too, it said there is no longer with this function - List of features removed in Windows Vista (http://en.wikipedia.org/wiki/List_of_features_removed_in_Windows_Vista#Boot.2C_shutdown.2C_power_management)
------------------------------------
Reply:
Here's a quick trick which adds the Restart option to the power button menu (makes it the 5th item in the pulldown). Save it to a .reg file and import it into the registry using regedit (or just double-click the file). It doesn't prompt you for restart action, but it at least allows you to configure the power button to restart instead of shutdown. I find this useful because my video card occasionally goes haywire and I can't see the Start menu so my only option is to hit the power button. Restart instead of shutdown saves a little wear and tear on the hardware in that case.
------------ 8< ---------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\4f971e89-eebd-4455-a8de-9e59040e7347\7648efa3-dd9c-4e3e-b566-50f929386280\4]
"Description"=hex(2):52,00,65,00,73,00,74,00,61,00,72,00,74,00,20,00,74,00,68,\
00,65,00,20,00,6d,00,61,00,63,00,68,00,69,00,6e,00,65,00,00,00
"FriendlyName"=hex(2):52,00,65,00,73,00,74,00,61,00,72,00,74,00,00,00
"SettingValue"=dword:00000005
------------------------------------
Reply:
i also am a windows user for years (used all of them windows 3.1, win95, win98, me, xp)
i was stuck at win xp because i think it is muuuuch more advanced os than win7 LOL. there are many silly things at win7! and one of them is this one: removal of "ask me what to do" option. I AM ALSO A USER WANTS DEADLY THIS FEATURE BACK!!!!!
i hate using win7 thats why i used xp since today! december 2012! and this latency shows the win7 is a loser os. lol :))))
anyway, in short, WE WANT THIS FEATURE BACCCKKKKK!!!
------------------------------------
Reply:
Hey, how are you guys doing? It's now over 4 and a half years since this topic was started, and I'm sure nobody found a solution. There won't be one, but here's my workaround.
I use an Acer, so I have 4 buttons right beside the Power Button (Program, Acer e-Manager, Internet, Mail). I don't use them, and Acer's Launch Manager allows me to change the default behavior of these buttons. So this is what I did:
- Opened notepad and pasted this:
(new ActiveXObject("Shell.Application")).ShutdownWindows(); - Saved as C:\power.js (saved as All files, not as Text document)
- Changed the Mail button to open C:\power.js with Acer's Launch Manager
- Changed Power Button to do nothing in Power Options
And voilá! I have a Power Button that does nothing, and an E-Mail button right next to it that asks me what to do, just like that option that XP used to have, and the same option Stephen thinks is just as useful as bird's poop on his head.
I tried other alternatives to Acer Launch Manager, like WinKey (I actually have used this one for years), KeyboardLink, Sharpkeys, etc, but either they required a combination of keys, or they simply were too messy to set up. The only one I could make it work (after a few tweaks) was "Function Keys", it requires .Net Framework 4.0 (sorry! ) and it only works with F9, F10, F11 and F12 keys, but you can remap them to any other key you don't use with KeyTweak. Here are the required steps for "Function Keys":
- Download Function Keys from Softpedia
- Place it on a folder (for example, C:\POWER\Function Keys.exe
- Run C:\POWER\Function Keys.exe
- Set a Function key you don't use to run C:\Windows\system32\wscript.exe
- Close C:\POWER\Function Keys.exe (make sure it's not on the tray)
- Create a shortcut to it on the Startup folder (C:\Users\your_account\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup) and set it to start minimized
- Create C:\POWER\power.js with the same steps as mentioned above.
- Drag C:\Users\your_account\AppData\Local\Function_Keys\Function_Keys.exe\1.0.0.0\user.config to notepad
- Replace:
<value>C:\Windows\system32\wscript.exe</value>
with:
<value>C:\Windows\system32\wscript.exe "C:\POWER\power.js"</value>
Unfortunately KeyTweak can't make the Power Button "think" it's a Function key because the Power button doesn't have a scan code, but you can reprogram any other key you fancy to the Function key you used. Have fun with your "new" feature!
- Edited by johnye_pt Saturday, December 14, 2013 7:06 PM
------------------------------------
Reply:
Johnye_pt, did you tried last version of SharpKeys? It looks like they have the Power button available in the list (Special: Power), but can be mapped only to other key. I don't know how to map it to a script, maybe you know more, and we''ll find a workaround for this nasty issue.
------------------------------------
confusion of windows opening incorrect email application
I use windows 7, and I use an email application which I think is referred to as a pop 3 . (anybody@outlook.com). I email quite happily using this when I open it from my browser. However whilst browsing , I can find an email address which I wish to contact and upon clicking on the address it opens an application called Outlook 12 live and it neither sends or keeps a copy of the email.
Obviously somewhere I need to change an arrow and point to the right application. But alas I know not where.
Best regards
Paul
Reply:
Go to default programs in control panel. That should allow you to assign your preferred mail application as the default.
https://support.microsoft.com/en-gb/help/18539/windows-7-change-default-programs
I could also be a setting in the browser itself.
------------------------------------
Shared Virtual Hard Disk - what is it good for?
Since you can't (https://technet.microsoft.com/en-us/library/dn281956.asp)...
- Resizing
- Migrating
- Backing up or making replicas
Are there other ways to address these same 3 needs outside of the guest cluster itself? Those seem like pretty huge drawbacks. I assume 'making replicas' refers to incompatibility with hyper-v replica, but what specifically is 'backing up' referring to...VSS?
Was the intention behind this pretty much -> "You don't have / can't get enough hardware for new cluster(s) AKA SOFS, so here's a way to do it as a guest cluster to get High Availability but with these pretty major drawbacks." Even so, I'm pretty much in that boat right now: I can't get any additional hardware right now and I need somewhere - in pretty short order - to move a bunch of data since the old hardware is being retired.
born to learn!
- Edited by AJM Admin Wednesday, January 11, 2017 6:23 PM
Group policy fuult apply to Windows 7 but only part of the gpo's apply to Windows 10
Hi,
I'm login with a domain user in two workstations. one is Windows 7 Professional & the other is Windows 10 Enterprise. on the Windows 7 I'm getting all the GPO's from the DC. on the Windows 10 computer I'm getting only 2 GPO's from the 4 we have.
what can be the problem? i checked everything on the GP level on the dc and on the client computer.
Do i miss something?
Thanks.
Reply:
Do the 2 GPOs that aren't applying use WMI filtering?
Could try using the RSOP snap-in in MMC to see why the policies aren't working.
https://technet.microsoft.com/en-us/library/dn265978%28v=ws.11%29.aspx?f=255&MSPPError=-2147217396
- Edited by Chris Reynolds Wednesday, January 11, 2017 6:08 PM
------------------------------------
Sharepoint WorkFlow Templates and Permissions
Hi everybody.
I have an issue on workflow that i hope you can resolve.
First, i'm still investigating what actually happened.
On a site we need an approval workflow (OOTB) working on some library:
for this, it seems that an user has activated some feature (OOTB.. i don't remember what forn now), creating hence the workflows templates on a Team Site.
These are:
- Approval WorkFlow with Content Approval
- Approval WorkFlow with Notification
- Approval WorkFlow with (Web App)
Instances of these worked well until this user has been removed from Administrators Group.
In fact the error that a common user see is that his cannot start a new instance of workflow on any item interessed.
The error on start is:
'the workflow could not update the item, possibly because one or more columns for the item require a different type of information. Access Denied'
Some other facts:
From SPDesigner, in workflow templates tab, i see that the workflows templates associated by this feature has value of field ModifiedBy setted to the user who activated.
assigning old permissions to the user who activated first time the feature, everything return to work.
Why this? Templates are'nt independents from instances?
Logically, i would like disassociate in some way these wf templates form the user who activate feature and created it (?),
just because this user will be disabled.
How can i do this, ( or some other workaround)?
Tnx.
Reply:
cameron rautmann
------------------------------------
Reply:
Hi Cameron.
Actually it's workflows Templates OOTB, from which are then construct specific instances.
The strange thing (or probably it's normal...) is that these templates are related in some way to the user who activate the feature, and, even more interesting, it seems that each related instances are influenced by this fact.
I would like know if exist some way to resolve this issue, or also some workaround..
Anyway tnx for your suggest.
------------------------------------
Reply:
cameron rautmann
------------------------------------
Thanks, Microsoft!
I want to extend my gratitude to Microsoft Windows 10 for its inexplicable choice of forced restart times for Windows Update. Unlike previous versions that allowed me to restart manually to apply updates, Windows 10 decided that 1:44 PM was the perfect time to restart while I was in the middle of some pretty extensive code changes in Visual Studio.
I would also like to express my admiration for the genuis(es) who decided that this automatic restart didn't need to prompt me to save my work before it rebooted my laptop without warning. Windows 10 promised to deliver the latest and greatest for users, and this certainly represents the cutting edge of keeping the end user on their toes.
I also want to say that it's refreshing to see that I have so much less control over how Windows 10 updates behave unless I'm using Windows 10 pro, and even then having to mess around with group policy just to get things to behave the way Windows 7 did, like being able to download the updates but only install when I'm ready for it.
Just fantastic work, Microsoft. Really. An hour of work lost because I clearly haven't learned to be more paranoid about unexpected reboots.
JUST FANTASTIC!
- Edited by c0balt Tuesday, January 10, 2017 8:18 PM
- Changed type Carey FrischMVP Tuesday, January 10, 2017 8:20 PM Comment
Reply:
Hi c0balt.
I know that this will neither solve your problem nor make you feel less disappointed, but I'd suggest you to use the Windows Feedback Hub to make Microsoft aware of this kind of problem: I'm going to do the same thing.
Bye.
Luigi Bruno
MCP, MCTS, MOS, MTA
- Edited by Luigi BrunoMVP Tuesday, January 10, 2017 8:23 PM
------------------------------------
Reply:
Well Windows 10 is not supposed to do that in active times settings. So check active times you can set 12 hours at the moment afaik.
MSFT are adding pause updates for 35 days in the settings (already in latest Insider Build). So perhaps they are listening...
------------------------------------
Reply:
Do you have Windows 10 pro sku?
Go into the windows updates section and select "defer feature releases" . This will hold back the next feature release.
If you don't have the pro sku I would strongly recommend that you upgrade. Microsoft is planning to put a "pause updates" in the next release but unfortunately only for pro skus and above.
------------------------------------
No comments:
Post a Comment